1
0

cEvent: fixed wrong errorchecking in win32 Set()

git-svn-id: http://mc-server.googlecode.com/svn/trunk@213 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com 2012-02-01 09:34:15 +00:00
parent 35d89bc918
commit 8f5e834f41

View File

@ -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());
}