projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d31e052
)
[WIN32K]
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sat, 5 May 2012 22:06:15 +0000
(22:06 +0000)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Sat, 5 May 2012 22:06:15 +0000
(22:06 +0000)
Someone passes iUsage == 2, so don't assert in that case, but ignore it as long as it's not supported.
svn path=/trunk/; revision=56520
reactos/win32ss/gdi/ntgdi/dibobj.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/gdi/ntgdi/dibobj.c
b/reactos/win32ss/gdi/ntgdi/dibobj.c
index
9df928f
..
78eb3d8
100644
(file)
--- a/
reactos/win32ss/gdi/ntgdi/dibobj.c
+++ b/
reactos/win32ss/gdi/ntgdi/dibobj.c
@@
-171,11
+171,11
@@
CreateDIBPalette(
/* Mark the palette as a brush hack palette */
ppal->flFlags |= PAL_BRUSHHACK;
}
- else if (iUsage == 2)
- {
+
//
else if (iUsage == 2)
+
//
{
// FIXME: this one is undocumented
- ASSERT(FALSE);
- }
+
//
ASSERT(FALSE);
+
//
}
else // if (iUsage == DIB_RGB_COLORS)
{
/* The colors are an array of RGBQUAD values */