• R/O
  • HTTP
  • SSH
  • HTTPS

mingw-org-wsl: Commit

The MinGW.OSDN Windows System Libraries. Formerly designated as "MinGW.org Windows System Libraries", this encapsulates the "mingwrt" C runtime library extensions, and the "w32api" 32-bit MS-Windows API libraries.

Please note that this project no longer owns the "MinGW.org" domain name; any software which may be distributed from that domain is NOT supported by this project.


Commit MetaInfo

Révision0c111acc00bc15f5270535a71ee1601a3ed4a168 (tree)
l'heure2021-05-10 05:23:08
AuteurKeith Marshall <keith@user...>
CommiterKeith Marshall

Message de Log

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

Change Summary

Modification

--- 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 ) \
Afficher sur ancien navigateur de dépôt.