Don't write to user space after an error. We do write if TRUE.
authorJames Tabor <james.tabor@reactos.org>
Tue, 7 Aug 2007 22:19:32 +0000 (22:19 +0000)
committerJames Tabor <james.tabor@reactos.org>
Tue, 7 Aug 2007 22:19:32 +0000 (22:19 +0000)
svn path=/trunk/; revision=28229

reactos/subsystems/win32/win32k/objects/dc.c

index 6063324..2d5256b 100644 (file)
@@ -1213,7 +1213,7 @@ NtGdiGetDCPoint( HDC hDC, UINT iPoint, PPOINTL Point)
       break;
   }
 
-  if (!Ret)
+  if (Ret)
   {
     _SEH_TRY
     {