summaryrefslogtreecommitdiff
path: root/lib/libncurses/lib_scroll.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-07-30 17:21:39 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-07-30 17:21:39 +0000
commitc8a57a4fe56f3245fcb57b55188c8a336340b078 (patch)
tree7f7f89b59e18742d35d82f795df7418c5e33545e /lib/libncurses/lib_scroll.c
parented29ca4685d39742de8539c10654fb23eb026e6a (diff)
Notes
Diffstat (limited to 'lib/libncurses/lib_scroll.c')
-rw-r--r--lib/libncurses/lib_scroll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libncurses/lib_scroll.c b/lib/libncurses/lib_scroll.c
index 1721a3fc1d13..03e71368f734 100644
--- a/lib/libncurses/lib_scroll.c
+++ b/lib/libncurses/lib_scroll.c
@@ -21,7 +21,7 @@ void scroll_window(WINDOW *win, int n, int regtop, int regbottom)
int line, i;
chtype *ptr, *temp;
chtype **saved;
-chtype blank = ' ';
+chtype blank = _nc_background(win);
saved = (chtype **)malloc(sizeof(chtype *) * abs(n));