user32: Remove unneeded address-of operators from function names

Andrew Talbot andrew.talbot at talbotville.com
Sun Jul 6 07:00:47 CDT 2008


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

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-patches mailing list