Revision: 4480
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4480&view=rev
Author:   ossman_
Date:     2011-06-09 08:39:35 +0000 (Thu, 09 Jun 2011)

Log Message:
-----------
Copied the dot cursor logic over from the Unix viewer incorrectly.

Modified Paths:
--------------
    trunk/vncviewer/Viewport.cxx

Modified: trunk/vncviewer/Viewport.cxx
===================================================================
--- trunk/vncviewer/Viewport.cxx        2011-06-09 08:35:34 UTC (rev 4479)
+++ trunk/vncviewer/Viewport.cxx        2011-06-09 08:39:35 UTC (rev 4480)
@@ -207,9 +207,8 @@
   for (i = 0; i < mask_len; i++)
     if (((rdr::U8*)mask)[i]) break;
 
-  if (i == mask_len) {
-    if (dotWhenNoCursor)
-      vlog.debug("cursor is empty - using dot");
+  if ((i == mask_len) && dotWhenNoCursor) {
+    vlog.debug("cursor is empty - using dot");
 
     Fl_Pixmap pxm(dotcursor_xpm);
     cursor = new Fl_RGB_Image(&pxm);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to