Commit 7a9a1e3e authored by Stepan Pologov's avatar Stepan Pologov Committed by Max Kellermann

mapper: re-add character set conversion in map_uri_fs()

parent 628866a0
......@@ -91,9 +91,15 @@ void mapper_finish(void)
char *
map_uri_fs(const char *uri)
{
char buffer[MPD_PATH_MAX];
assert(uri != NULL);
assert(*uri != '/');
uri = utf8_to_fs_charset(buffer, uri);
if (uri == NULL)
return NULL;
return g_build_filename(music_dir, uri, NULL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment