summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-05 13:24:01 +0200
committerLars-Dominik Braun <PromyLOPh@gmail.com>2008-08-05 13:24:01 +0200
commite1cb484fe66410e45363f29b167fedf19f236ded (patch)
treef2aced47c96f23d33240d15af8e4451de1e0fcef
parent1e8643259a915b05e010bebb6f28999e69e223d4 (diff)
downloadpianobar-windows-e1cb484fe66410e45363f29b167fedf19f236ded.tar.gz
pianobar-windows-e1cb484fe66410e45363f29b167fedf19f236ded.tar.bz2
pianobar-windows-e1cb484fe66410e45363f29b167fedf19f236ded.zip
Show flags (shared, quickmix) in station selector
-rw-r--r--src/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index eaa93d5..e2b687c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -102,8 +102,11 @@ PianoStation_t *BarUiSelectStation (PianoHandle_t *ph,
curStation = ph->stations;
while (curStation != NULL) {
- printf ("%2i) %s%s\n", i, curStation->name,
- curStation->useQuickMix ? " (QuickMix)" : "");
+ printf ("%2i) %c%c%c %s\n", i,
+ curStation->useQuickMix ? 'q' : ' ',
+ curStation->isQuickMix ? 'Q' : ' ',
+ !curStation->isCreator ? 'S' : ' ',
+ curStation->name);
curStation = curStation->next;
i++;
}