X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fsubsystems%2Fwin32%2Fwin32k%2Fobjects%2Fstockobj.c;h=ca8a5e744e2cd9be576725016318a6ae335af961;hp=02b07dfbf94f238c7fa0d64cc18a2236f956bd19;hb=f561f03d31ee056f2cc102bb5d16800b10cebcb0;hpb=347b8aee6f711f900060b78f1943e0978cd16716 diff --git a/reactos/subsystems/win32/win32k/objects/stockobj.c b/reactos/subsystems/win32/win32k/objects/stockobj.c index 02b07dfbf94..ca8a5e744e2 100644 --- a/reactos/subsystems/win32/win32k/objects/stockobj.c +++ b/reactos/subsystems/win32/win32k/objects/stockobj.c @@ -216,8 +216,8 @@ NtGdiGetStockObject(INT Object) return ((Object < 0) || (NB_STOCK_OBJECTS <= Object)) ? NULL : StockObjects[Object]; } -BOOL FASTCALL -IntSetSysColors(UINT nColors, INT *Elements, COLORREF *Colors) +VOID FASTCALL +IntSetSysColors(UINT nColors, CONST INT *Elements, CONST COLORREF *Colors) { UINT i; @@ -234,7 +234,6 @@ IntSetSysColors(UINT nColors, INT *Elements, COLORREF *Colors) Elements++; Colors++; } - return nColors > 0; } HGDIOBJ FASTCALL