diff options
author | Jan Klemkow <web2p10@wemelug.de> | 2010-07-02 22:55:24 +0200 |
---|---|---|
committer | Jan Klemkow <web2p10@wemelug.de> | 2010-07-02 22:55:24 +0200 |
commit | 2eb6ed491d5dee2e9a3aded7db2cfbfe5b0b7970 (patch) | |
tree | d10eeb737ab13827652f431d536675703672238b /pa-sink-ctl.c | |
parent | ef166fc2b9c867e674935a6f300f89607bfc3b85 (diff) | |
download | pa-sink-ctl-2eb6ed491d5dee2e9a3aded7db2cfbfe5b0b7970.tar.gz pa-sink-ctl-2eb6ed491d5dee2e9a3aded7db2cfbfe5b0b7970.tar.bz2 pa-sink-ctl-2eb6ed491d5dee2e9a3aded7db2cfbfe5b0b7970.zip |
bugfix: volume bar
Diffstat (limited to 'pa-sink-ctl.c')
-rw-r--r-- | pa-sink-ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pa-sink-ctl.c b/pa-sink-ctl.c index 5a10190..388c8f1 100644 --- a/pa-sink-ctl.c +++ b/pa-sink-ctl.c @@ -217,7 +217,7 @@ void print_volume(pa_volume_t volume, int y) { mvwprintw(menu_win, y, x - 1 , "["); for (int i = 0; i < vol; ++i) mvwprintw(menu_win, y, x + i, "="); - for (int i = vol; i < VOLUME_BAR_LEN - vol; ++i) + for (int i = vol; i < VOLUME_BAR_LEN; ++i) mvwprintw(menu_win, y, x + i, " "); mvwprintw(menu_win, y, x + VOLUME_BAR_LEN, "]"); |