mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 09:09:49 +00:00
Typo fix.
Should probably be using goingFullscreen too, just for consistency.
This commit is contained in:
parent
023eb30b3e
commit
61944e2c90
@ -336,10 +336,10 @@ namespace MainWindow
|
||||
::SetWindowLong(hWnd, GWL_STYLE, dwNewStyle);
|
||||
|
||||
// Remove the menu bar.
|
||||
::SetMenu(hWnd, g_Config.bFullScreen ? NULL : menu);
|
||||
::SetMenu(hWnd, goingFullscreen ? NULL : menu);
|
||||
|
||||
// Resize to normal view.
|
||||
ShowWindow(hwndMain, g_Config.bFullScreen ? SW_MAXIMIZE : SW_RESTORE);
|
||||
ShowWindow(hwndMain, goingFullscreen ? SW_MAXIMIZE : SW_RESTORE);
|
||||
|
||||
g_Config.bFullScreen = goingFullscreen;
|
||||
CorrectCursor();
|
||||
@ -349,7 +349,7 @@ namespace MainWindow
|
||||
if (showOSM) {
|
||||
ShowScreenResolution();
|
||||
}
|
||||
ShowOwnedPopups(hwndMain, TRUE);
|
||||
ShowOwnedPopups(hwndMain, goingFullscreen ? FALSE : TRUE);
|
||||
W32Util::MakeTopMost(hwndMain, g_Config.bTopMost);
|
||||
|
||||
g_inModeSwitch = false;
|
||||
|
Loading…
Reference in New Issue
Block a user