edit patch

Lukas Molzberger molzberg at informatik.uni-freiburg.de
Sat Jan 5 06:20:10 CST 2002


Log:
Lukas Molzberger <lukas at gm.nw.schule.de>
Fix the drawing problem which occurs while scrolling text in the Win98 
Notepad.

Index: controls/edit.c
===================================================================
RCS file: /home/wine/wine/controls/edit.c,v
retrieving revision 1.88
diff -u -r1.88 edit.c
--- controls/edit.c     2001/11/13 21:29:38     1.88
+++ controls/edit.c     2002/01/05 10:19:45
@@ -2903,7 +2903,7 @@
                GetClientRect(hwnd, &rc1);
                IntersectRect(&rc, &rc1, &es->format_rect);
                ScrollWindowEx(hwnd, -dx, dy,
-                               NULL, &rc, (HRGN)NULL, NULL, SW_INVALIDATE);
+                               &rc, NULL, (HRGN)NULL, NULL, SW_INVALIDATE);
                /* force scroll info update */
                EDIT_UpdateScrollInfo(hwnd, es);
        }
@@ -4967,3 +4967,4 @@
     if (es->flags & EF_UPDATE) EDIT_NOTIFY_PARENT(hwnd, es, EN_UPDATE, 
"EN_UPDATE");
     InvalidateRect(hwnd, rc, bErase);
 }
+




More information about the wine-patches mailing list