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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
- 2*off by 1 in refress call froze the console/xterm if it was to small
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);
 }
 
 /******************************************************************

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux