• R/O
  • HTTP
  • SSH
  • HTTPS

mingw-org-wsl: コミット

The MinGW.org Windows System Libraries


コミットメタ情報

リビジョン0c111acc00bc15f5270535a71ee1601a3ed4a168 (tree)
日時2021-05-10 05:23:08
作者Keith Marshall <keith@user...>
コミッターKeith Marshall

ログメッセージ

Correct TreeView_GetItemRect() syntax; cf. MinGW-Issue #41041.

変更サマリ

差分

--- a/w32api/ChangeLog
+++ b/w32api/ChangeLog
@@ -1,3 +1,10 @@
1+2021-05-09 Keith Marshall <keith@users.osdn.me>
2+
3+ Correct TreeView_GetItemRect() syntax; cf. MinGW-Issue #41041.
4+
5+ * include/commctrl.h (TreeView_GetItemRect): Correct placement of
6+ parentheses around typecast pointer reference assignment.
7+
18 2021-04-11 Keith Marshall <keith@users.osdn.me>
29
310 Prepare and publish MinGW.org WSL-5.4.2 release.
--- a/w32api/include/commctrl.h
+++ b/w32api/include/commctrl.h
@@ -4585,7 +4585,7 @@ WINAPI BOOL _TrackMouseEvent (LPTRACKMOUSEEVENT);
45854585 (BOOL)(SNDMSG ((w), TVM_EXPAND, (c), (LPARAM)((HTREEITEM)(i))))
45864586
45874587 #define TreeView_GetItemRect( w, i, p, c ) \
4588- (*(HTREEITEM *)((p) = (i)), \
4588+ ( (*(HTREEITEM *)(p) = (i)), \
45894589 (BOOL)(SNDMSG ((w), TVM_GETITEMRECT, (c), (LPARAM)((LPRECT)(p)))) \
45904590 )
45914591 #define TreeView_GetCount( w ) \
旧リポジトリブラウザで表示