From 89a612e99d29f1d1223a34b061f643cd36e05734 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 30 Nov 2007 02:27:40 +0000 Subject: [PATCH] replace NtGdiSelectObject with NtGdiSelectbrush in dcutils.c svn path=/trunk/; revision=30908 --- reactos/subsystems/win32/win32k/objects/dcutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/objects/dcutil.c b/reactos/subsystems/win32/win32k/objects/dcutil.c index f49a56bfaa9..3dd30daee7d 100644 --- a/reactos/subsystems/win32/win32k/objects/dcutil.c +++ b/reactos/subsystems/win32/win32k/objects/dcutil.c @@ -184,7 +184,7 @@ NtGdiSetBkColor(HDC hDC, COLORREF color) Dc_Attr->ulDirty_ &= ~DIRTY_LINE; // Clear Flag if set. hBrush = Dc_Attr->hbrush; DC_UnlockDc(dc); - NtGdiSelectObject(hDC, hBrush); + NtGdiSelectBrush(hDC, hBrush); return oldColor; } @@ -254,6 +254,6 @@ NtGdiSetTextColor(HDC hDC, Dc_Attr->crForegroundClr = color; hBrush = Dc_Attr->hbrush; DC_UnlockDc( dc ); - NtGdiSelectObject(hDC, hBrush); + NtGdiSelectBrush(hDC, hBrush); return oldColor; }