diff --git a/controls/menu.c b/controls/menu.c index 8766138c4b2..9de5f114914 100644 --- a/controls/menu.c +++ b/controls/menu.c @@ -3992,7 +3992,7 @@ HMENU WINAPI GetSystemMenu( HWND hWnd, BOOL bRevert ) } WIN_ReleaseWndPtr(wndPtr); } - return retvalue; + return bRevert ? 0 : retvalue; }