Author: tkreuzer
Date: Wed Mar 25 06:52:11 2009
New Revision: 40218
URL:
http://svn.reactos.org/svn/reactos?rev=40218&view=rev
Log:
Fix GetDCBrushColor. It was returning the pen color.
Modified:
trunk/reactos/dll/win32/gdi32/objects/dc.c
Modified: trunk/reactos/dll/win32/gdi32/objects/dc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/dc…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/dc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/objects/dc.c [iso-8859-1] Wed Mar 25 06:52:11 2009
@@ -933,7 +933,7 @@
PDC_ATTR Dc_Attr;
if (!GdiGetHandleUserData((HGDIOBJ) hdc, GDI_OBJECT_TYPE_DC, (PVOID) &Dc_Attr))
return CLR_INVALID;
- return (COLORREF) Dc_Attr->ulPenClr;
+ return (COLORREF) Dc_Attr->ulBrushClr;
}
/*