wineconsole (Eric?) problem

Eric Pouech eric.pouech at wanadoo.fr
Wed May 1 02:48:17 CDT 2002


> I'll look into it
the attached patch should fix the issue
A+
-------------- next part --------------
Index: programs/wineconsole/user.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/programs/wineconsole/user.c,v
retrieving revision 1.8
diff -u -r1.8 user.c
--- programs/wineconsole/user.c	23 Mar 2002 20:14:04 -0000	1.8
+++ programs/wineconsole/user.c	1 May 2002 07:40:31 -0000
@@ -642,6 +702,7 @@
  */
 static void WCUSER_Refresh(const struct inner_data* data, int tp, int bm)
 {
+    WCUSER_FillMemDC(data, tp, bm);
     if (data->curcfg.win_pos.Y <= bm && data->curcfg.win_pos.Y + data->curcfg.win_height >= tp)
     {
 	RECT	r;
@@ -651,7 +712,6 @@
 	r.top    = (tp - data->curcfg.win_pos.Y) * data->curcfg.cell_height;
 	r.bottom = (bm - data->curcfg.win_pos.Y + 1) * data->curcfg.cell_height;
 	InvalidateRect(PRIVATE(data)->hWnd, &r, FALSE);
-	WCUSER_FillMemDC(data, tp, bm);
 	UpdateWindow(PRIVATE(data)->hWnd);
     }
 }


More information about the wine-devel mailing list