Author: tkreuzer
Date: Sat Dec 1 05:09:39 2007
New Revision: 30929
URL:
http://svn.reactos.org/svn/reactos?rev=30929&view=rev
Log:
patch by jimtabor: add GdiBCSelObj to GdiFlushUserBatch
Modified:
trunk/reactos/subsystems/win32/win32k/objects/gdibatch.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/gdibatch.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/gdibatch.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/gdibatch.c Sat Dec 1 05:09:39 2007
@@ -49,7 +49,13 @@
case GdiBCExtSelClipRgn:
break;
case GdiBCSelObj:
- break;
+ {
+ PGDIBSOBJECT pgO;
+ if(!dc) break;
+ pgO = (PGDIBSOBJECT) pHdr;
+ if(NT_SUCCESS(TextIntRealizeFont((HFONT) pgO->hgdiobj)))
+ Dc_Attr->hlfntNew = (HFONT) pgO->hgdiobj;
+ }
case GdiBCDelObj:
case GdiBCDelRgn:
{
@@ -115,3 +121,4 @@
return STATUS_SUCCESS;
}
+