aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_artist.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-07 16:14:39 +0100
committerMax Kellermann <max@duempel.org>2008-11-07 16:14:39 +0100
commitc238364f6833320fee4256226af650347d5a751b (patch)
treec04fbb8f91e34dea95410290b941bee627e66c18 /src/screen_artist.c
parent06aafa1328f50d247676c2eca488e53fa02c0dbd (diff)
downloadmpd-c238364f6833320fee4256226af650347d5a751b.tar.gz
mpd-c238364f6833320fee4256226af650347d5a751b.tar.xz
mpd-c238364f6833320fee4256226af650347d5a751b.zip
mpdclient: expect UTF-8 strings
Don't convert the character set of strings to and from the current locale. This library cannot know what the strings are going to be used for, so it should not mess with them.
Diffstat (limited to '')
-rw-r--r--src/screen_artist.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/screen_artist.c b/src/screen_artist.c
index 5fec3c04c..35db91776 100644
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
@@ -214,14 +214,14 @@ load_song_list(struct mpdclient *c)
if (album[0] == 0)
browser.filelist =
- mpdclient_filelist_search_utf8(c, TRUE,
- MPD_TABLE_ARTIST,
- artist);
+ mpdclient_filelist_search(c, TRUE,
+ MPD_TABLE_ARTIST,
+ artist);
else
browser.filelist =
- mpdclient_filelist_search_utf8(c, TRUE,
- MPD_TABLE_ALBUM,
- album);
+ mpdclient_filelist_search(c, TRUE,
+ MPD_TABLE_ALBUM,
+ album);
if (browser.filelist == NULL)
browser.filelist = filelist_new(NULL);
@@ -414,7 +414,7 @@ add_query(mpdclient_t *c, int table, char *_filter)
screen_status_printf("Adding %s...", str);
g_free(str);
- addlist = mpdclient_filelist_search_utf8(c, TRUE, table, _filter);
+ addlist = mpdclient_filelist_search(c, TRUE, table, _filter);
if (addlist) {
mpdclient_filelist_add_all(c, addlist);
filelist_free(addlist);