summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/kernel.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-02-15 19:44:08 +0000
committerache <ache@FreeBSD.org>1995-02-15 19:44:08 +0000
commit8606846519fea95655a87c1758e86ea3e8bffc34 (patch)
treea7743d34a6549d3bf5ac9aa482d97aaadd19fe2a /gnu/lib/libdialog/kernel.c
parentc89046c5551c9d22af39898dd39354fd4f5cae44 (diff)
downloadFreeBSD-src-8606846519fea95655a87c1758e86ea3e8bffc34.zip
FreeBSD-src-8606846519fea95655a87c1758e86ea3e8bffc34.tar.gz
file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl
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 fad8c65..75c6370 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);
OpenPOWER on IntegriCloud