Author: jgardou
Date: Thu Jun 10 00:40:09 2010
New Revision: 47731
URL:
http://svn.reactos.org/svn/reactos?rev=47731&view=rev
Log:
[WIN32K]
- check for the type of the DC to restore to decide whether we should restore the
surface
Fixes yarotows specific FF3 bug
Modified:
branches/reactos-yarotows/subsystems/win32/win32k/objects/dcstate.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dcstate.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win…
==============================================================================
--- branches/reactos-yarotows/subsystems/win32/win32k/objects/dcstate.c [iso-8859-1]
(original)
+++ branches/reactos-yarotows/subsystems/win32/win32k/objects/dcstate.c [iso-8859-1] Thu
Jun 10 00:40:09 2010
@@ -149,7 +149,7 @@
DC_vCopyState(pdcSave, pdc, FALSE);
/* Only memory DC's change their surface */
- if (pdcSave->dctype == DCTYPE_MEMORY)
+ if (pdc->dctype == DCTYPE_MEMORY)
DC_vSelectSurface(pdc, pdcSave->dclevel.pSurface);
// Restore Path by removing it, if the Save flag is set.