Carlo Bramini (carlo DOT bramix AT libero DOT it):
[reactos.git] / rosapps / magnify / magnifier.c
index 7f0600a..b8900ed 100644 (file)
@@ -257,8 +257,9 @@ void Draw(HDC aDc)
                rop = NOTSRCCOPY;\r
        }\r
 \r
+       /* Blast the stretched image from memory DC to window DC.*/\r
        StretchBlt(\r
-               HdcStrech,\r
+               aDc,\r
                0,\r
                0,\r
                AppWidth,\r
@@ -270,18 +271,6 @@ void Draw(HDC aDc)
                blitAreaHeight,\r
                rop);\r
 \r
-       /* Blast the image from memory DC to client DC.*/\r
-       BitBlt (\r
-               aDc,\r
-               0 ,\r
-               0 ,\r
-               AppWidth ,\r
-               AppHeight ,\r
-               HdcStrech ,\r
-               0 ,\r
-               0 ,\r
-               SRCCOPY);\r
-\r
        /* Cleanup.*/\r
        SelectObject (HdcStrech, hOld);\r
        DeleteObject (HbmpStrech);\r