Bug Tracker item #3252506, was opened at 2011-03-28 12:07
Message generated for change (Tracker Item Submitted) made by jtuc
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3252506&group_id=254363

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Windows version
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jochen Tucht (jtuc)
Assigned to: Peter Åstrand (astrand)
Summary: Odd code in 3-Button Mouse Emulation

Initial Comment:
win/rfb_win32/CPointer.cxx
@@ -57 +57 @@
-inline int _abs(int x) {return x>0 ? x : 0;}
+inline int _abs(int x) { return x > 0 ? x : -x; }
@@ -105 +105 @@
-        if (_abs(threePos.x - pos.x) <= 4 || _abs(threePos.y - pos.y) <= 4) {
+        if (_abs(threePos.x - pos.x) > 4 || _abs(threePos.y - pos.y) > 4) {


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3252506&group_id=254363

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to