summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/threads.cpp b/src/mir_core/src/threads.cpp
index 625b84781c..543e2f4a74 100644
--- a/src/mir_core/src/threads.cpp
+++ b/src/mir_core/src/threads.cpp
@@ -40,8 +40,8 @@ static void __stdcall DummyAPCFunc(ULONG_PTR)
static int MirandaWaitForMutex(HANDLE hEvent)
{
+ // will get WAIT_IO_COMPLETE for QueueUserAPC() which isnt a result
for (;;) {
- // will get WAIT_IO_COMPLETE for QueueUserAPC() which isnt a result
DWORD rc = MsgWaitForMultipleObjectsEx(1, &hEvent, INFINITE, QS_ALLINPUT, MWMO_ALERTABLE);
if (rc == WAIT_OBJECT_0 + 1) {
MSG msg;