Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37427988
en ru br
Репозитории ALT
S:2.9.1-alt1.qa2
5.1: 2.8-alt4
4.1: 2.8-alt4
4.0: 2.8-alt4
3.0: 2.8-alt4
www.altlinux.org/Changes

Группа :: Звук
Пакет: 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();
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin