Highlight the lines of hotlist in full width. ================================================================================ --- mc-4.6.1-pre2b/src/widget.c +++ mc-4.6.1-pre2b/src/widget.c @@ -1935,6 +1935,7 @@ { WLEntry *e; int i; + int j; int sel_line; Dlg_head *h = l->widget.parent; int normalc = NORMALC; @@ -1965,7 +1966,8 @@ text = e->text; e = e->next; } - printw (" %-*s ", l->width-2, name_trunc (text, l->width-2)); + j = columns_to_bytes (name_trunc (text, l->width-2), l->width-2); + printw (" %-*s ", j, name_trunc (text, l->width-2)); } l->cursor_y = sel_line; if (!l->scrollbar)