[sound-juicer] Don't duplicate penultimate label in multiple album dialog
- From: Phillip Wood <pwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Don't duplicate penultimate label in multiple album dialog
- Date: Thu, 22 May 2014 17:51:35 +0000 (UTC)
commit f4024ff8a58a7b542f7dbe11c3104c6afc4115d7
Author: Phillip Wood <phillip wood dunelm org uk>
Date: Wed May 21 16:20:57 2014 +0100
Don't duplicate penultimate label in multiple album dialog
The penultimate label was used a second time instead of the final
label if there was more than one label.
src/sj-main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/sj-main.c b/src/sj-main.c
index 8910a1a..2301109 100644
--- a/src/sj-main.c
+++ b/src/sj-main.c
@@ -912,6 +912,7 @@ static GString* format_label_text (GList* labels)
if (count > 1) {
g_string_append (label_text, ((LabelDetails*)labels->data)->name);
g_string_append (label_text, " & ");
+ labels = labels->next;
}
g_string_append (label_text, ((LabelDetails*)labels->data)->name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]