diff --git a/source/cEvent.cpp b/source/cEvent.cpp index aee6b866e..4ed8f65f5 100644 --- a/source/cEvent.cpp +++ b/source/cEvent.cpp @@ -105,7 +105,7 @@ void cEvent::Wait(void) void cEvent::Set(void) { #ifdef _WIN32 - if (SetEvent(m_Event)) + if (!SetEvent(m_Event)) { LOGWARN("cEvent: Could not set cEvent: GLE = %d", GetLastError()); }