diff options
author | Max Kellermann <max@duempel.org> | 2013-01-18 15:33:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-18 15:34:01 +0100 |
commit | 890151450663abd581cab56e853e8e713d822851 (patch) | |
tree | f4bf31e08d7483e0041333c6ebf69a468b48b975 /src/SongUpdate.cxx | |
parent | 21fe376d1d9ffa6064cf89faab7860d443d9f7fd (diff) | |
download | mpd-890151450663abd581cab56e853e8e713d822851.tar.gz mpd-890151450663abd581cab56e853e8e713d822851.tar.xz mpd-890151450663abd581cab56e853e8e713d822851.zip |
Playlist, Song: clarify parameter encoding
Diffstat (limited to '')
-rw-r--r-- | src/SongUpdate.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx index b96c7c43e..f84a37cea 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -45,16 +45,16 @@ extern "C" { #include <stdio.h> struct song * -song_file_load(const char *path, Directory *parent) +song_file_load(const char *path_utf8, Directory *parent) { struct song *song; bool ret; - assert((parent == NULL) == g_path_is_absolute(path)); - assert(!uri_has_scheme(path)); - assert(strchr(path, '\n') == NULL); + assert((parent == NULL) == g_path_is_absolute(path_utf8)); + assert(!uri_has_scheme(path_utf8)); + assert(strchr(path_utf8, '\n') == NULL); - song = song_file_new(path, parent); + song = song_file_new(path_utf8, parent); //in archive ? if (parent != NULL && parent->device == DEVICE_INARCHIVE) { |