From fbf9332c9a7cb711927158805b3804908cafc304 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sun, 5 Apr 2020 18:25:35 +0100 Subject: [PATCH] Fix compiler error with DEBUG_SAVE enabled --- src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main.cpp b/src/Main.cpp index 5719d734..6d9f1905 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -451,7 +451,7 @@ LRESULT CALLBACK WindowProcedure(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lPar 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);