diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1997-07-23 01:04:14 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1997-07-23 01:04:14 -0400 |
commit | eef116fe0730b92d09314c3fae280eeed40b096a (patch) | |
tree | cd165b52ae77296a96193cd4c5ef05ac862ad790 /src/LYForms.c | |
parent | 36863953e4886d5269a325c93bd433847694a5fb (diff) | |
download | lynx-snapshots-eef116fe0730b92d09314c3fae280eeed40b096a.tar.gz |
snapshot of project "lynx", label v2-7-1ac_0-39
Diffstat (limited to 'src/LYForms.c')
-rw-r--r-- | src/LYForms.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/LYForms.c b/src/LYForms.c index 283634e3..1c053bca 100644 --- a/src/LYForms.c +++ b/src/LYForms.c @@ -678,9 +678,10 @@ PRIVATE int popup_options ARGS7( #define getbkgd(w) wgetbkgd(w) /* workaround pre-1.9.9g bug */ #endif LYsubwindow(form_window); -#ifdef getbkgd /* not defined in ncurses 1.8.7 */ - wbkgd(form_window, getbkgd(stdscr)); #endif +#if defined(COLOR_CURSES) /* not defined in ncurses 1.8.7 */ + wbkgd(form_window, getbkgd(stdscr)); + wbkgdset(form_window, getbkgd(stdscr)); #endif #endif /* USE_SLANG */ |