mirror of https://github.com/FreeRDP/FreeRDP
fix "mcode" check in cliprdr_thread_func()
Priority of the '!=' is higher than '=' operator
This commit is contained in:
parent
1d67de61c9
commit
012a729878
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue