win32: fixed: [2773492] When turning "Limit framerate" on or off the screen separation resets to none.

This commit is contained in:
zeromus 2009-04-19 05:58:32 +00:00
parent 823b57c6db
commit 7180336b20
1 changed files with 1 additions and 2 deletions

View File

@ -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);