summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2010-02-10 09:34:15 +0000
committerPeter Åstrand <astrand@cendio.se>2010-02-10 09:34:15 +0000
commit32492a6336a0e0955a23be3448d08e7babad0b82 (patch)
tree8d2b120a21a2664b6b47d3065afa49ded91036dd /win
parentffeeb265c814db90d24afeed486c2935ba433d92 (diff)
downloadtigervnc-32492a6336a0e0955a23be3448d08e7babad0b82.tar.gz
tigervnc-32492a6336a0e0955a23be3448d08e7babad0b82.zip
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
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/CPointer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/CPointer.cxx b/win/rfb_win32/CPointer.cxx
index 2e9065f9..5a5894b6 100644
--- a/win/rfb_win32/CPointer.cxx
+++ b/win/rfb_win32/CPointer.cxx
@@ -172,7 +172,7 @@ void CPointer::handleTimer(InputHandler* writer, int timerId) {
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();