aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSong.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-21 10:26:53 +0200
committerMax Kellermann <max@duempel.org>2013-10-21 10:50:22 +0200
commit83c726a34f325ae5be0d5b61b66a97cb41f6973e (patch)
treeff65ffc34bd655cce2a52b9e84d5a762ea0f021e /src/PlaylistSong.cxx
parenta0415f73d459b5763f59dfa4151ec89834d29526 (diff)
downloadmpd-83c726a34f325ae5be0d5b61b66a97cb41f6973e.tar.gz
mpd-83c726a34f325ae5be0d5b61b66a97cb41f6973e.tar.xz
mpd-83c726a34f325ae5be0d5b61b66a97cb41f6973e.zip
GetBaseUTF8
Diffstat (limited to 'src/PlaylistSong.cxx')
-rw-r--r--src/PlaylistSong.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PlaylistSong.cxx b/src/PlaylistSong.cxx
index ce60174fe..a117a85da 100644
--- a/src/PlaylistSong.cxx
+++ b/src/PlaylistSong.cxx
@@ -142,9 +142,9 @@ playlist_check_translate_song(Song *song, const char *base_uri,
}
if (base_uri != nullptr && strcmp(base_uri, ".") == 0)
- /* g_path_get_dirname() returns "." when there is no
- directory name in the given path; clear that now,
- because it would break the database lookup
+ /* PathTraits::GetParentUTF8() returns "." when there
+ is no directory name in the given path; clear that
+ now, because it would break the database lookup
functions */
base_uri = nullptr;