mirror of
https://github.com/reactos/reactos.git
synced 2026-07-03 07:34:53 +08:00
- Please dont break functionality due to a compiler problem, just fix it.
svn path=/trunk/; revision=37928
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user