win32: fixed: [2773492] When turning "Limit framerate" on or off the screen separation resets to none.
This commit is contained in:
parent
823b57c6db
commit
7180336b20
|
@ -3059,11 +3059,10 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
|
|||
CheckLanguage(LOWORD(wParam));
|
||||
return 0;
|
||||
case IDC_FRAMELIMIT:
|
||||
{
|
||||
FrameLimit ^= 1;
|
||||
MainWindow->checkMenu(IDC_FRAMELIMIT, FrameLimit ? MF_CHECKED : MF_UNCHECKED);
|
||||
WritePrivateProfileInt("FrameLimit", "FrameLimit", FrameLimit, IniName);
|
||||
}
|
||||
return 0;
|
||||
case IDM_SCREENSEP_NONE:
|
||||
{
|
||||
SetScreenGap(0);
|
||||
|
|
Loading…
Reference in New Issue