shithub: cstory

Download patch

ref: fbf9332c9a7cb711927158805b3804908cafc304
parent: f75859b7591cf6433848af194cc7c53bfcca92da
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Apr 5 14:25:35 EDT 2020

Fix compiler error with DEBUG_SAVE enabled

--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -451,7 +451,7 @@
 		case WM_CREATE:
 			hMenu = GetMenu(hWnd);
 		#ifdef DEBUG_SAVE
-			if (!CheckFileExists("save"))	// Chances are a line like this used to exist
+			if (!IsKeyFile("save"))	// Chances are a line like this used to exist
 		#endif
 				DeleteMenu(hMenu, 40005, MF_BYCOMMAND);
 			DrawMenuBar(hWnd);