Bug Tracker item #3158501, was opened at 2011-01-14 21:54 Message generated for change (Tracker Item Submitted) made by jtuc You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3158501&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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Jochen Tucht (jtuc) Assigned to: Nobody/Anonymous (nobody) Summary: operator usage - logical NOT used where bitwise NOT intended Initial Comment: --- common/rfb/VNCSConnectionST.cxx (working base) +++ common/rfb/VNCSConnectionST.cxx (working copy) @@ -805,10 +805,10 @@ accessRights = accessRights | AccessPtrEvents | AccessKeyEvents | AccessView; break; case 1: - accessRights = accessRights & !(AccessPtrEvents | AccessKeyEvents) | AccessView; + accessRights = accessRights & ~(AccessPtrEvents | AccessKeyEvents) | AccessView; break; case 2: - accessRights = accessRights & !(AccessPtrEvents | AccessKeyEvents | AccessView); + accessRights = accessRights & ~(AccessPtrEvents | AccessKeyEvents | AccessView); break; } framebufferUpdateRequest(server->pb->getRect(), false); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126848&aid=3158501&group_id=254363 ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Tigervnc-devel mailing list Tigervnc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-devel