From af347caa8ca3ac6d0cc42083f0496f88cb007a9a Mon Sep 17 00:00:00 2001 From: Jason Filby Date: Wed, 31 Oct 2001 21:08:00 +0000 Subject: [PATCH] Kludge: draw within screen until we have clipping working svn path=/trunk/; revision=2328 --- reactos/apps/tests/gditest/gditest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/apps/tests/gditest/gditest.c b/reactos/apps/tests/gditest/gditest.c index fb97e14c57d..d4960eaab9a 100644 --- a/reactos/apps/tests/gditest/gditest.c +++ b/reactos/apps/tests/gditest/gditest.c @@ -17,12 +17,12 @@ void __stdcall Background (HDC Desktop) MoveToEx (Desktop, 0, 0, NULL); LineTo (Desktop, 640, 480); - for (y = 480, x = 0; x < 640; x+=2) + for (y = 479, x = 0; x < 640; x+=2) { MoveToEx (Desktop, 0, 0, NULL); LineTo (Desktop, x, y); } - for (y = 0, x = 640; y < 480; y+=2) + for (y = 0, x = 639; y < 480; y+=2) { MoveToEx (Desktop, 0, 0, NULL); LineTo (Desktop, x, y);