diff --git a/src/myslang.h b/src/myslang.h index a8c8b42b8..eb22bbfbd 100644 --- a/src/myslang.h +++ b/src/myslang.h @@ -18,12 +18,13 @@ enum { #define ACS_VLINE SLSMG_VLINE_CHAR #define ACS_HLINE SLSMG_HLINE_CHAR +#define ACS_LTEE SLSMG_LTEE_CHAR +#define ACS_RTEE SLSMG_RTEE_CHAR #define ACS_ULCORNER SLSMG_ULCORN_CHAR #define ACS_LLCORNER SLSMG_LLCORN_CHAR #define ACS_URCORNER SLSMG_URCORN_CHAR #define ACS_LRCORNER SLSMG_LRCORN_CHAR -#define ACS_LTEE 't' #define acs() SLsmg_set_char_set(1) #define noacs() SLsmg_set_char_set (0) #define baudrate() SLang_TT_Baud_Rate diff --git a/src/screen.c b/src/screen.c index 24ddc85c1..a02fc536a 100644 --- a/src/screen.c +++ b/src/screen.c @@ -774,15 +774,13 @@ show_dir (WPanel *panel) panel->widget.y, panel->widget.x, panel->widget.lines, panel->widget.cols); -#ifdef HAVE_SLANG if (show_mini_info) { - SLsmg_draw_object (panel->widget.y + llines (panel) + 2, - panel->widget.x, SLSMG_LTEE_CHAR); - SLsmg_draw_object (panel->widget.y + llines (panel) + 2, - panel->widget.x + panel->widget.cols - 1, - SLSMG_RTEE_CHAR); + widget_move (&panel->widget, llines (panel) + 2, 0); + tty_print_alt_char (ACS_LTEE); + widget_move (&panel->widget, llines (panel) + 2, + panel->widget.cols - 1); + tty_print_alt_char (ACS_RTEE); } -#endif /* HAVE_SLANG */ if (panel->active) attrset (REVERSE_COLOR);