Bugfix: We were using assignement instead of comparision in the if
statement. Found by GCC warnings.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3972 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/rfb_win32/CPointer.cxx b/win/rfb_win32/CPointer.cxx
index 2e9065f..5a5894b 100644
--- a/win/rfb_win32/CPointer.cxx
+++ b/win/rfb_win32/CPointer.cxx
@@ -172,7 +172,7 @@
intervalTimer.stop();
}
- } else if (timerId = threeTimer.getId()) {
+ } else if (timerId == threeTimer.getId()) {
// 3-Button emulation timer has expired - send what we've got
vlog.debug("emulate3: timeout");
threeTimer.stop();