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:
parent
35d89bc918
commit
8f5e834f41
@ -105,7 +105,7 @@ void cEvent::Wait(void)
|
|||||||
void cEvent::Set(void)
|
void cEvent::Set(void)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
if (SetEvent(m_Event))
|
if (!SetEvent(m_Event))
|
||||||
{
|
{
|
||||||
LOGWARN("cEvent: Could not set cEvent: GLE = %d", GetLastError());
|
LOGWARN("cEvent: Could not set cEvent: GLE = %d", GetLastError());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user