This commit is contained in:
OBattler
2023-12-21 15:06:04 +01:00
parent 011d4b50ec
commit 72cb0bedd0

View File

@@ -371,7 +371,7 @@ plat_pause(int p)
wchar_t title[1024];
wchar_t paused_msg[512];
if (p == dopause) {
if ((!!p) == dopause) {
#ifdef Q_OS_WINDOWS
if (source_hwnd)
PostMessage((HWND) (uintptr_t) source_hwnd, WM_SENDSTATUS, (WPARAM) !!p, (LPARAM) (HWND) main_window->winId());