summaryrefslogtreecommitdiff
path: root/gnu/lib/libdialog/kernel.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-02-15 19:44:08 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-02-15 19:44:08 +0000
commit895aadbcfb7ef37ab2bb5af7cb66574f8e522a81 (patch)
treea7743d34a6549d3bf5ac9aa482d97aaadd19fe2a /gnu/lib/libdialog/kernel.c
parent7f8573b09102c7d0d74c1ace3e0112d7989e6fcb (diff)
Notes
Diffstat (limited to 'gnu/lib/libdialog/kernel.c')
-rw-r--r--gnu/lib/libdialog/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/kernel.c b/gnu/lib/libdialog/kernel.c
index fad8c659a947..75c6370c99e7 100644
--- a/gnu/lib/libdialog/kernel.c
+++ b/gnu/lib/libdialog/kernel.c
@@ -375,6 +375,7 @@ void draw_box(WINDOW *win, int y, int x, int height, int width, chtype box, chty
void draw_shadow(WINDOW *win, int y, int x, int height, int width)
{
int i,sx,sy;
+ WINDOW *newscr=win;
if (has_colors()) { /* Whether terminal supports color? */
getbegyx(win,sy,sx);