mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +00:00
- Please dont break functionality due to a compiler problem, just fix it.
svn path=/trunk/; revision=37928
This commit is contained in:
parent
cbe31af1b2
commit
0e162bfb0b
1 changed files with 2 additions and 0 deletions
|
@ -87,6 +87,8 @@ GetSystemPaletteEntries(HDC hDC,
|
|||
LPPALETTEENTRY ppe)
|
||||
{
|
||||
PALETTEENTRY ippe[256];
|
||||
// Make this work!
|
||||
if ((INT)cEntries < 0 ) return 0;
|
||||
|
||||
if ( GetDeviceCaps(hDC, RASTERCAPS) & RC_PALETTE )
|
||||
return NtGdiDoPalette(hDC, iStartIndex, cEntries, ppe, GdiPalGetSystemEntries, FALSE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue