GetSystemMenu called with bRevert argument set to TRUE now returns

NULL as specified in Platform SDK.
This commit is contained in:
Francois Jacques 2000-06-18 17:17:54 +00:00 committed by Alexandre Julliard
parent 626691c4b8
commit 20af4c3c87
1 changed files with 1 additions and 1 deletions

View File

@ -3992,7 +3992,7 @@ HMENU WINAPI GetSystemMenu( HWND hWnd, BOOL bRevert )
}
WIN_ReleaseWndPtr(wndPtr);
}
return retvalue;
return bRevert ? 0 : retvalue;
}