diff --git a/graphics/painting.c b/graphics/painting.c index cb0bda79ceb..ea3c2569bc1 100644 --- a/graphics/painting.c +++ b/graphics/painting.c @@ -388,7 +388,7 @@ COLORREF WINAPI GetPixel16( HDC16 hdc, INT16 x, INT16 y ) */ COLORREF WINAPI GetPixel( HDC hdc, INT x, INT y ) { - COLORREF ret = 0; + COLORREF ret = CLR_INVALID; DC * dc = DC_GetDCUpdate( hdc ); if (dc)