Merge pull request #1721 from maksqwe/client_fixes

fix "mcode" check in cliprdr_thread_func()
This commit is contained in:
Marc-André Moreau 2014-03-05 11:25:52 -05:00
commit 2c48ae8faa

View File

@ -350,7 +350,7 @@ static void *cliprdr_thread_func(void *arg)
return NULL;
}
while ((mcode = GetMessage(&msg, 0, 0, 0) != 0))
while ((mcode = GetMessage(&msg, 0, 0, 0)) != 0)
{
if (mcode == -1)
{