Author: dpsimons
Date: Wed Feb  3 04:11:25 2016
New Revision: 39333

URL: http://svn.gna.org/viewcvs/gnustep?rev=39333&view=rev
Log:
fix problem with flipped cursors

Modified:
    libs/back/branches/gnustep_testplant_branch/Source/win32/WIN32Server.m

Modified: libs/back/branches/gnustep_testplant_branch/Source/win32/WIN32Server.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/back/branches/gnustep_testplant_branch/Source/win32/WIN32Server.m?rev=39333&r1=39332&r2=39333&view=diff
==============================================================================
--- libs/back/branches/gnustep_testplant_branch/Source/win32/WIN32Server.m      
(original)
+++ libs/back/branches/gnustep_testplant_branch/Source/win32/WIN32Server.m      
Wed Feb  3 04:11:25 2016
@@ -2910,12 +2910,12 @@
               HBITMAP hOldXorMaskBitmap = (HBITMAP)SelectObject(hXorMaskDC, 
hXorMaskBitmap);
               
               // Scan each pixel of the souce bitmap and create the masks
-              int x;
+              int y;
               int *pixel = (int*)[rep bitmapData];
-              for(x = 0; x < bm.bmWidth; ++x)
+              for(y = 0; y < bm.bmHeight; ++y)
                 {
-                  int y;
-                  for (y = 0; y < bm.bmHeight; ++y)
+                  int x;
+                  for (x = 0; x < bm.bmWidth; ++x)
                     {
                       if (*pixel++ == 0x00000000)
                         {


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to