From 4c910dbee6b3f420d5166c59cf14375b3c82a6ab Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 16 Apr 2020 13:52:00 +0100 Subject: [PATCH] Correct variable name I must have guessed this one, and not left a comment saying it was fake... dammit. --- src/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main.cpp b/src/Main.cpp index 40a5cbfa..de57e29c 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -34,7 +34,7 @@ BOOL gbUseJoystick = FALSE; int gJoystickButtonTable[8]; static BOOL bActive = TRUE; -static BOOL bFps = FALSE; +static BOOL bFPS = FALSE; static HANDLE hObject; static HANDLE hMutex; @@ -63,7 +63,7 @@ void SetWindowName(HWND hWnd) // Framerate stuff void PutFramePerSecound(void) { - if (bFps) + if (bFPS) { const unsigned long fps = CountFramePerSecound(); PutNumber4(WINDOW_WIDTH - 40, 8, fps, FALSE); @@ -472,7 +472,7 @@ LRESULT CALLBACK WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lPar DrawMenuBar(hWnd); if (IsKeyFile("fps")) - bFps = TRUE; + bFPS = TRUE; if (!bFullscreen) LoadWindowRect(hWnd, "window.rect", FALSE);