From f2edf8e27ab4d5f6288967fd8361b9ef283cb582 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Tue, 27 Jun 2023 01:07:14 +0200 Subject: [PATCH] 84% --- ISLE/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISLE/main.cpp b/ISLE/main.cpp index 4f942a41..d28bf8fb 100644 --- a/ISLE/main.cpp +++ b/ISLE/main.cpp @@ -221,7 +221,7 @@ LRESULT WINAPI WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) } else { BOOL valid = FALSE; - if (targetWidth == g_targetWidth && targetHeight == g_targetHeight && g_targetDepth == wParam) { + if (g_targetDepth == wParam && targetWidth == g_targetWidth && targetHeight == g_targetHeight) { valid = TRUE; }