From 83c726a34f325ae5be0d5b61b66a97cb41f6973e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 21 Oct 2013 10:26:53 +0200 Subject: GetBaseUTF8 --- src/PlaylistSong.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/PlaylistSong.cxx') 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; -- cgit v1.2.3