aboutsummaryrefslogtreecommitdiff
path: root/lib/libcurses
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>1998-10-12 16:32:32 +0000
committerKenneth D. Merry <ken@FreeBSD.org>1998-10-12 16:32:32 +0000
commit13a5277c238c33ef572aef53377bdae1f921330f (patch)
treee6af74da10c03636fcd874a1d8f268fc6ab00a9b /lib/libcurses
parentaea68bce9fcb7cedb2a5891c4230dace4cc1393c (diff)
Notes
Diffstat (limited to 'lib/libcurses')
-rw-r--r--lib/libcurses/refresh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcurses/refresh.c b/lib/libcurses/refresh.c
index 1719454b3650e..14e2aca9cdd6f 100644
--- a/lib/libcurses/refresh.c
+++ b/lib/libcurses/refresh.c
@@ -682,8 +682,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);
}
}