aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistSong.cxx
diff options
context:
space:
mode:
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;