From: Max Kellermann Date: Fri, 25 Dec 2009 10:54:35 +0000 (+0100) Subject: screen_artist: don't convert _() to locale X-Git-Tag: release-0.16~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=01c1b661a8ef7e64e9a1167e4f34f52161e7d960;p=ncmpc.git screen_artist: don't convert _() to locale gettext returns all strings in the locale charset. --- diff --git a/src/screen_artist.c b/src/screen_artist.c index d6011a7..31ff1c7 100644 --- a/src/screen_artist.c +++ b/src/screen_artist.c @@ -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; }