summaryrefslogtreecommitdiffstats
path: root/source/cEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cEvent.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}