projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ad2fb
)
[Win32k]
author
James Tabor
<james.tabor@reactos.org>
Sun, 11 Nov 2012 03:01:58 +0000
(
03:01
+0000)
committer
James Tabor
<james.tabor@reactos.org>
Sun, 11 Nov 2012 03:01:58 +0000
(
03:01
+0000)
- Fix api test crash.
svn path=/trunk/; revision=57698
reactos/win32ss/user/ntuser/cursoricon.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/user/ntuser/cursoricon.c
b/reactos/win32ss/user/ntuser/cursoricon.c
index
84d8c76
..
f508695
100644
(file)
--- a/
reactos/win32ss/user/ntuser/cursoricon.c
+++ b/
reactos/win32ss/user/ntuser/cursoricon.c
@@
-1154,6
+1154,12
@@
UserDrawIconEx(
return FALSE;
}
+ if (!psurfColor)
+ {
+ ERR("Attention HAX FIX API DrawIconEx TEST Line 37: psurfColor is NULL going with Mask!\n");
+ psurfColor = SURFACE_ShareLockSurface(hbmMask);
+ }
+
psurfOffScreen = SURFACE_AllocSurface(STYPE_BITMAP,
cxWidth, cyHeight, psurfColor->SurfObj.iBitmapFormat,
0, 0, NULL);