shithub: cstory

Download patch

ref: 4c910dbee6b3f420d5166c59cf14375b3c82a6ab
parent: 8a9f70875cd90965da70a3d210951f66c797ed65
author: Clownacy <Clownacy@users.noreply.github.com>
date: Thu Apr 16 09:52:00 EDT 2020

Correct variable name

I must have guessed this one, and not left a comment saying it was
fake... dammit.

--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -34,7 +34,7 @@
 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 @@
 // 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 @@
 			DrawMenuBar(hWnd);
 
 			if (IsKeyFile("fps"))
-				bFps = TRUE;
+				bFPS = TRUE;
 
 			if (!bFullscreen)
 				LoadWindowRect(hWnd, "window.rect", FALSE);