Репозитории ALT
Группа :: Звук
Пакет: aumix
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: aumix-2.8-deb-redraw-balance.patch
Скачать
Скачать
aumix (2.8-9) unstable; urgency=low
* patches/16_redraw-balance.patch: In the ncurses interface, when
switching between level and balance modes or moving from line to line,
the "balance selected" character didn't get erased (closes: #226007).
--- aumix-2.8.orig/src/curses.c 2002-10-23 17:07:40.000000000 +0200
+++ aumix-2.8/src/curses.c 2004-09-21 21:16:02.000000000 +0200
@@ -387,6 +387,7 @@
attrset(COLOR_PAIR(AXIS_COLOR));
y = CountChannels(current_dev);
mvaddstr(YOFFSET + y, XOFFSET + menu_width + R_P_WIDTH + level_width, " ");
+ mvaddch(YOFFSET + y, XOFFSET + menu_width + R_P_WIDTH + level_width + ARROW_WIDTH + label_width, ' ');
attrset(COLOR_PAIR(AXIS_COLOR));
mvaddstr(YOFFSET + y, XOFFSET + menu_width + R_P_WIDTH + level_width + ARROW_WIDTH, LOCAL_TEXT(dev_label[current_dev]));
/* switch to next existing device */
@@ -489,6 +490,10 @@
mvaddch(YOFFSET + y, XOFFSET + menu_width + R_P_WIDTH + level_width + ARROW_WIDTH + label_width, '>');
} else {
mvaddch(YOFFSET + y, XOFFSET + menu_width + R_P_WIDTH + level_width, '<');
+ /* Erase the other indicator since the line
+ * doesn't get redrawn... */
+ attrset(COLOR_PAIR(AXIS_COLOR));
+ mvaddch(YOFFSET + y, XOFFSET + menu_width + R_P_WIDTH + level_width + ARROW_WIDTH + label_width, ' ');
}
}
PlaceCursor();