diff options
author | Tom de Vries <tdevries@suse.de> | 2023-07-12 16:27:40 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-07-12 16:27:40 +0200 |
commit | a839dbdce5d923dd28027ae2dba01f88104b7926 (patch) | |
tree | c00607121f96c33c5249081ef38994ebf28ca482 /gdb/tui | |
parent | 664ac93fa86a974aaf42497a58bc1c05dde09909 (diff) | |
download | gdb-a839dbdce5d923dd28027ae2dba01f88104b7926.zip gdb-a839dbdce5d923dd28027ae2dba01f88104b7926.tar.gz gdb-a839dbdce5d923dd28027ae2dba01f88104b7926.tar.bz2 |
[gdb/tui] Assume HAVE_WBORDER
The tui border-kind setting allows values acs, ascii and space.
The values ascii and space however don't work well with !HAVE_WBORDER.
Fix this by removing the !HAVE_WBORDER case, which was introduced for Ultrix
support, which is now obsolete.
Tested on x86_64-linux.
PR tui/30580
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30580
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-wingeneral.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index 385e6e5..2b63499 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.c @@ -98,14 +98,10 @@ box_win (struct tui_win_info *win_info, ? tui_active_border_style.style () : tui_border_style.style ())); 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.empty ()) { /* Emit "+-TITLE-+" -- so 2 characters on the right and 2 on |