Репозитории ALT
S: | 4.8.30-alt3 |
5.1: | 4.8.11-alt0.M51.1 |
4.1: | 4.6.2-alt7.pre1 |
4.0: | 4.6.1r-alt9 |
3.0: | 4.6.1r-alt3 |
Группа :: Работа с файлами
Пакет: mc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mc-4.6.2-uhu-suse-utf8-hotlist-highlight.patch
Скачать
Скачать
Highlight the lines of hotlist in full width.
================================================================================
--- mc-4.6.2-pre1/src/widget.c
+++ mc-4.6.2-pre1/src/widget.c
@@ -1995,6 +1995,7 @@
{
WLEntry *e;
int i;
+ int j;
int sel_line;
Dlg_head *h = l->widget.parent;
int normalc = DLG_NORMALC (h);
@@ -2025,7 +2026,8 @@
text = e->text;
e = e->next;
}
- tty_printf (" %-*s ", l->width-2, name_trunc (text, l->width-2));
+ j = columns_to_bytes (name_trunc (text, l->width-2), l->width-2);
+ tty_printf (" %-*s ", j, name_trunc (text, l->width-2));
}
l->cursor_y = sel_line;
if (!l->scrollbar)