diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-02 03:02:29 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-02 03:02:29 +0000 |
commit | a55464e307f0007b2df8c05521eede86c4a0ea99 (patch) | |
tree | c7c8f0df9a68c01e925788e40d9fd9dd046bfb1f /lib/libocurses | |
parent | ea6f3928a8c8f6710069d577e144545c18738991 (diff) |
From ken@FreeBSD.ORG:
Fix a curses bug exposed by the ":numbers" display of systat -iostat.
This bug showed up when you had more than 3 devices displayed. (thus
requiring a second line of display)
Diffstat (limited to 'lib/libocurses')
-rw-r--r-- | lib/libocurses/refresh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libocurses/refresh.c b/lib/libocurses/refresh.c index 3271bd9101e..b89c685f677 100644 --- a/lib/libocurses/refresh.c +++ b/lib/libocurses/refresh.c @@ -679,8 +679,8 @@ quickch(win) * Need to repoint any subwindow lines to the rotated * line structured. */ - for (wp = win->nextp; wp != win; wp = wp->nextp) - __set_subwin(win, wp); + for (wp = curscr->nextp; wp != curscr; wp = wp->nextp) + __set_subwin(wp->orig, wp); } } |