diff options
author | Max Khon <fjoe@FreeBSD.org> | 2003-01-24 09:41:24 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2003-01-24 09:41:24 +0000 |
commit | 6e7034d22ebd70889a7d6602f8254307372305a5 (patch) | |
tree | bbcb509363bc7da667b544f91910525e5477013e /news/husky-msged/files/patch-nshow.c | |
parent | Upgrade to 1.3.2. (diff) |
try to fix 'last character sympthome' problem with syscons
(patches submitted to developers as well)
Notes
Notes:
svn path=/head/; revision=73933
Diffstat (limited to 'news/husky-msged/files/patch-nshow.c')
-rw-r--r-- | news/husky-msged/files/patch-nshow.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/news/husky-msged/files/patch-nshow.c b/news/husky-msged/files/patch-nshow.c new file mode 100644 index 000000000000..dcaf4788bc92 --- /dev/null +++ b/news/husky-msged/files/patch-nshow.c @@ -0,0 +1,28 @@ +--- ./nshow.c.orig Thu Jun 21 03:21:35 2001 ++++ ./nshow.c Fri Jan 24 15:35:24 2003 +@@ -36,7 +36,7 @@ + int groupmove = 0; + HotGroup Hot; + +-int InitScreen(void) ++int InitScreen(int draw_statbar) + { + if (SW->usemouse == NO) + { +@@ -56,6 +56,8 @@ + else + maxy = term.NRow; + hMnScr = WndOpen(0, 0, maxx - 1, maxy - 1, NBDR, 0, cm[CM_NTXT]); ++ if (draw_statbar && SW->statbar) ++ WndClearLine(maxy - 1, cm[CM_ITXT]); + SW->redraw = TRUE; + return 0; + } +@@ -468,7 +470,6 @@ + if (l - 2 < maxx - 1) + WndPutsn(l - 2, maxy - 1, (maxx - 1) - (l - 2), + cm[CM_ITXT] | F_ALTERNATE, line + (l - 2)); +- WndClear(maxx - 1, maxy - 1, maxx - 1, maxy - 1, cm[CM_ITXT]); + } + if (!m) + { |