Author: jimtabor
Date: Wed Aug 8 05:02:32 2007
New Revision: 28235
URL: http://svn.reactos.org/svn/reactos?rev=28235&view=rev
Log:
Removed AbortProc from WIN_DC_INFO. AbortProc is handled in gdi32 and stored in the Dc_Attr->pvLDC (LDC) structure. LDC structure is used for printing and EMF functions. WIN_DC_INFO is still useful and might stick around for a while.
Modified:
trunk/reactos/subsystems/win32/win32k/include/dc.h
Modified: trunk/reactos/subsystems/win32/win32k/include/dc.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/in…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/include/dc.h (original)
+++ trunk/reactos/subsystems/win32/win32k/include/dc.h Wed Aug 8 05:02:32 2007
@@ -41,11 +41,6 @@
INT DCOrgX; /* DC origin */
INT DCOrgY;
-
-#if 0
- FARPROC lpfnPrint; /* AbortProc for Printing */
-#endif
-
INT ArcDirection;
XFORM xformWorld2Wnd; /* World-to-window transformation */
Author: jimtabor
Date: Wed Aug 8 02:19:32 2007
New Revision: 28229
URL: http://svn.reactos.org/svn/reactos?rev=28229&view=rev
Log:
Don't write to user space after an error. We do write if TRUE.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dc.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dc.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dc.c Wed Aug 8 02:19:32 2007
@@ -1213,7 +1213,7 @@
break;
}
- if (!Ret)
+ if (Ret)
{
_SEH_TRY
{