• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Windows System Libraries


Commit MetaInfo

修订版0c111acc00bc15f5270535a71ee1601a3ed4a168 (tree)
时间2021-05-10 05:23:08
作者Keith Marshall <keith@user...>
CommiterKeith Marshall

Log Message

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 ) \