Code

screen_artist: don't convert _() to locale
authorMax Kellermann <max@duempel.org>
Fri, 25 Dec 2009 10:54:35 +0000 (11:54 +0100)
committerMax Kellermann <max@duempel.org>
Fri, 25 Dec 2009 10:54:35 +0000 (11:54 +0100)
gettext returns all strings in the locale charset.

src/screen_artist.c

index d6011a7bc13d078cb1c2feffa96efcf580c08f67..31ff1c731ee23aa0062ee427381a531ecd681ab5 100644 (file)
@@ -70,9 +70,7 @@ screen_artist_lw_callback(unsigned idx, void *data)
                if (idx == 0)
                        return "[..]";
                else if (idx == list->len + 1) {
-                       str = utf8_to_locale(_("All tracks"));
-                       g_snprintf(buf, BUFSIZE, "[%s]", str);
-                       g_free(str);
+                       g_snprintf(buf, BUFSIZE, "[%s]", _("All tracks"));
                        return buf;
                }