mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
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:
parent
4b2d92d870
commit
0a23ca1c65
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue