From 012a72987849e97aa1d0749f2ac25fd291adb610 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Wed, 5 Mar 2014 15:24:42 +0200 Subject: [PATCH] fix "mcode" check in cliprdr_thread_func() Priority of the '!=' is higher than '=' operator --- client/Windows/wf_cliprdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Windows/wf_cliprdr.c b/client/Windows/wf_cliprdr.c index 31045860f..e1ddfcf5f 100644 --- a/client/Windows/wf_cliprdr.c +++ b/client/Windows/wf_cliprdr.c @@ -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) {