diff --git a/dlls/user32/nonclient.c b/dlls/user32/nonclient.c index 729a901c678..b11f4744bb8 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 );