fix problem with flipped cursors

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/branches/gnustep_testplant_branch@39333 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Doug Simons 2016-02-03 03:11:25 +00:00
parent 4b2d92d870
commit 0a23ca1c65

View file

@ -2910,12 +2910,12 @@ LRESULT CALLBACK windowEnumCallback(HWND hwnd, LPARAM lParam)
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)
{