diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index a8ffd1aa..9c58cbf8 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -615,14 +615,14 @@ LRESULT CALLBACK Main_Proc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) case WM_CLOSE: break; case WM_SYSCOMMAND: - if (DisableScreenSaver) - { - switch (wParam) - { - case SC_MONITORPOWER: - return 0; - } - } + if (DisableScreenSaver) + { + switch (wParam) + { + case SC_MONITORPOWER: + return 0; + } + } break; default: return DefWindowProc(hWnd,uMsg,wParam,lParam);