commit aae78337803c45ef5a87da8aaa9030fa797b30b9
parent 434e262167738e6e524f8ad8feabef519e31e5e1
Author: sin <sin@2f30.org>
Date: Sat, 11 Jun 2016 09:01:15 +0100
Swap CH1/MON
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ncmixer.c b/ncmixer.c
@@ -302,7 +302,7 @@ draw_status(void)
int offs;
offs = ISODD(COLS) ? 2 : 3;
- if (COLS < 2 + strlen("[CH0: ] [MON: ] [MON: ] [CH1: ]") + offs) {
+ if (COLS < 2 + strlen("[CH0: ] [MON: ] [CH1: ] [MON: ]") + offs) {
move(0, 0);
printw("\n");
return;
@@ -314,9 +314,9 @@ draw_status(void)
inputs[0].clifd != -1 ? '*' : ' ',
inputs[0].monitor != 0 ? '*' : ' ');
move(0, COLS - strlen("[MON: ] [CH1: ]") - offs);
- printw("[MON:%c] [CH1:%c]",
- inputs[1].monitor != 0 ? '*' : ' ',
- inputs[1].clifd != -1 ? '*' : ' ');
+ printw("[CH1:%c] [MON:%c]",
+ inputs[1].clifd != -1 ? '*' : ' ',
+ inputs[1].monitor != 0 ? '*' : ' ');
printw("\n");
}