This commit is contained in:
Christian Semmler 2023-06-27 01:07:14 +02:00
parent ae2faf8366
commit f2edf8e27a
No known key found for this signature in database
GPG Key ID: 086DAA1360BEEE5C

View File

@ -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;
}