main_window_proc

This commit is contained in:
Viktor Szakats 2026-06-16 13:53:18 +02:00
parent 68d35b45c6
commit db58e29fa5
No known key found for this signature in database

View file

@ -505,7 +505,14 @@ static LRESULT CALLBACK main_window_proc(HWND hwnd, UINT uMsg,
break;
}
if(signum) {
#ifdef DEBUG_WIN32_CALLBACKS
logmsg("main_window_proc: %u -> %d", uMsg, signum);
#else
static const char str[] = "main_window_proc\n";
DWORD dwWritten;
WriteFile(GetStdHandle(STD_ERROR_HANDLE), str, sizeof(str) - 1,
&dwWritten, NULL);
#endif
raise(signum);
}
}