summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkui.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-10 19:47:40 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-10 19:47:40 +0200
commitebdd9a4b04ba3a719c713e7c148d049e958e57ee (patch)
treecf645a5abd8e756c7a5637cb4927aa65f975dbeb /plugins/gtkui/gtkui.c
parentb8adc2d44c1e624d2ec9645909b9ca6681e83721 (diff)
fixed regression in statusbar mono/stereo indicator
Diffstat (limited to 'plugins/gtkui/gtkui.c')
-rw-r--r--plugins/gtkui/gtkui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index 00b810e6..4630bc25 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -152,7 +152,7 @@ update_songinfo (gpointer ctx) {
const char *mode;
char temp[20];
if (c->channels <= 2) {
- c->channels == 1 ? _("Mono") : _("Stereo");
+ mode = c->channels == 1 ? _("Mono") : _("Stereo");
}
else {
snprintf (temp, sizeof (temp), "%dch Multichannel", c->channels);