diff options
author | 1998-11-02 03:02:28 +0000 | |
---|---|---|
committer | 1998-11-02 03:02:28 +0000 | |
commit | 7e8838538a8eee389a76f43052fa322d6ccbb70a (patch) | |
tree | 0dd8cb1e881e9a88a338f6627a0c321184e1a119 /lib/libocurses/refresh.c | |
parent | md_copy_kernel should call check_kernel like the other arches (diff) | |
download | wireguard-openbsd-7e8838538a8eee389a76f43052fa322d6ccbb70a.tar.xz wireguard-openbsd-7e8838538a8eee389a76f43052fa322d6ccbb70a.zip |
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/refresh.c')
-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); } } |