summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-01 10:34:15 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-02-01 10:34:15 +0100
commit8f5e834f41c4446ac707552b87af70b32950af1f (patch)
treebc1ff34db3723299f4e82e5544c514a63c78bdb1 /source
parentStringUtils: SplitString() fix (diff)
downloadcuberite-8f5e834f41c4446ac707552b87af70b32950af1f.tar
cuberite-8f5e834f41c4446ac707552b87af70b32950af1f.tar.gz
cuberite-8f5e834f41c4446ac707552b87af70b32950af1f.tar.bz2
cuberite-8f5e834f41c4446ac707552b87af70b32950af1f.tar.lz
cuberite-8f5e834f41c4446ac707552b87af70b32950af1f.tar.xz
cuberite-8f5e834f41c4446ac707552b87af70b32950af1f.tar.zst
cuberite-8f5e834f41c4446ac707552b87af70b32950af1f.zip
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());
}