From d64282be7ca4f7a7f16f9ff07d641ce4c9fbe9f5 Mon Sep 17 00:00:00 2001 From: James Tabor Date: Tue, 7 Aug 2007 22:19:32 +0000 Subject: [PATCH] Don't write to user space after an error. We do write if TRUE. svn path=/trunk/; revision=28229 --- reactos/subsystems/win32/win32k/objects/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/objects/dc.c b/reactos/subsystems/win32/win32k/objects/dc.c index 60633246d9e..2d5256ba3b3 100644 --- a/reactos/subsystems/win32/win32k/objects/dc.c +++ b/reactos/subsystems/win32/win32k/objects/dc.c @@ -1213,7 +1213,7 @@ NtGdiGetDCPoint( HDC hDC, UINT iPoint, PPOINTL Point) break; } - if (!Ret) + if (Ret) { _SEH_TRY {