2007-01-15 23:14:57 +00:00
|
|
|
Highlight the lines of hotlist in full width.
|
|
|
|
|
|
|
|
================================================================================
|
2009-02-12 21:03:01 +00:00
|
|
|
--- mc-4.6.2/src/widget.c
|
|
|
|
+++ mc-4.6.2/src/widget.c
|
|
|
|
@@ -1994,6 +1994,7 @@
|
2007-01-15 23:14:57 +00:00
|
|
|
{
|
|
|
|
WLEntry *e;
|
|
|
|
int i;
|
|
|
|
+ int j;
|
|
|
|
int sel_line;
|
|
|
|
Dlg_head *h = l->widget.parent;
|
2007-11-05 23:30:50 +00:00
|
|
|
int normalc = DLG_NORMALC (h);
|
2009-02-12 21:03:01 +00:00
|
|
|
@@ -2024,7 +2025,8 @@
|
2007-01-15 23:14:57 +00:00
|
|
|
text = e->text;
|
|
|
|
e = e->next;
|
|
|
|
}
|
2007-11-05 23:30:50 +00:00
|
|
|
- tty_printf (" %-*s ", l->width-2, name_trunc (text, l->width-2));
|
2007-01-15 23:14:57 +00:00
|
|
|
+ j = columns_to_bytes (name_trunc (text, l->width-2), l->width-2);
|
2007-11-05 23:30:50 +00:00
|
|
|
+ tty_printf (" %-*s ", j, name_trunc (text, l->width-2));
|
2007-01-15 23:14:57 +00:00
|
|
|
}
|
|
|
|
l->cursor_y = sel_line;
|
|
|
|
if (!l->scrollbar)
|