[curses] 2*off by 1 in refress call (1/4)

Peter Berg Larsen pebl at math.ku.dk
Tue Oct 7 23:11:39 CDT 2003


Changelog:
- 2*off by 1 in refress call froze the console/xterm if it was to small
-------------- next part --------------
diff -b -u wine-20030911/programs/wineconsole/curses.c wine-my/programs/wineconsole/curses.c
--- wine-20030911/programs/wineconsole/curses.c	2003-09-07 07:08:14.000000000 +0200
+++ wine-my/programs/wineconsole/curses.c	2003-09-13 02:52:09.000000000 +0200
@@ -258,7 +258,7 @@
 
     prefresh(PRIVATE(data)->pad,
              data->curcfg.win_pos.Y, data->curcfg.win_pos.X,
-             0, 0, scr_height, scr_width);
+             0, 0, scr_height-1, scr_width-1);
 }
 
 /******************************************************************


More information about the wine-patches mailing list