diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-09-25 09:17:47 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-09-25 09:17:47 +0000 |
commit | 8b9cf735409903b446ab3fd11960104e4d948dee (patch) | |
tree | 362fb7e42c1e6d76928af7c90e40578e33c557cc /gdb/tui | |
parent | 9a8371d2df36057c103d513fde83036b18c10e3d (diff) | |
download | gdb-8b9cf735409903b446ab3fd11960104e4d948dee.zip gdb-8b9cf735409903b446ab3fd11960104e4d948dee.tar.gz gdb-8b9cf735409903b446ab3fd11960104e4d948dee.tar.bz2 |
* configure.in: Check for waddstr instead of mvwaddstr when
searching for curses library. Check for wborder.
* configure, config.in: Regenerate.
* tui/tui-wingeneral.c (box_win): Use box if wborder isn't
available.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-wingeneral.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index 3dc62d5..c99f978 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.c @@ -94,10 +94,14 @@ box_win (struct tui_gen_win_info * win_info, int highlight_flag) attrs = tui_border_attrs; wattron (win, attrs); +#ifdef HAVE_WBORDER wborder (win, tui_border_vline, tui_border_vline, tui_border_hline, tui_border_hline, tui_border_ulcorner, tui_border_urcorner, tui_border_llcorner, tui_border_lrcorner); +#else + box (win, tui_border_vline, tui_border_hline); +#endif if (win_info->title) mvwaddstr (win, 0, 3, win_info->title); wattroff (win, attrs); |