Andrew Talbot : user32: Remove unneeded address-of operators from function names.

Alexandre Julliard julliard at winehq.org
Mon Jul 7 09:19:18 CDT 2008


Module: wine
Branch: master
Commit: 5806e4b5045f8702b0ddd9b5ab0cc40ba5115876
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5806e4b5045f8702b0ddd9b5ab0cc40ba5115876

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sun Jul  6 13:00:47 2008 +0100

user32: Remove unneeded address-of operators from function names.

---

 dlls/user32/nonclient.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c
index 729a901..b11f474 100644
--- a/dlls/user32/nonclient.c
+++ b/dlls/user32/nonclient.c
@@ -1254,7 +1254,7 @@ static void NC_TrackMinMaxBox( HWND hwnd, WORD wParam )
         /* Check if the sysmenu item for minimize is there  */
         state = GetMenuState(hSysMenu, SC_MINIMIZE, MF_BYCOMMAND);
 
-        paintButton = &NC_DrawMinButton;
+        paintButton = NC_DrawMinButton;
     }
     else
     {
@@ -1265,7 +1265,7 @@ static void NC_TrackMinMaxBox( HWND hwnd, WORD wParam )
         /* Check if the sysmenu item for maximize is there  */
         state = GetMenuState(hSysMenu, SC_MAXIMIZE, MF_BYCOMMAND);
 
-        paintButton = &NC_DrawMaxButton;
+        paintButton = NC_DrawMaxButton;
     }
 
     SetCapture( hwnd );




More information about the wine-cvs mailing list