aboutsummaryrefslogtreecommitdiffstats
path: root/src/TagFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/TagFile.cxx')
-rw-r--r--src/TagFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TagFile.cxx b/src/TagFile.cxx
index e4e9914e4..168be6063 100644
--- a/src/TagFile.cxx
+++ b/src/TagFile.cxx
@@ -87,7 +87,7 @@ tag_file_scan(Path path_fs, const tag_handler &handler, void *handler_ctx)
/* check if there's a suffix and a plugin */
- const char *suffix = uri_get_suffix(path_fs.c_str());
+ const char *suffix = path_fs.GetSuffix();
if (suffix == nullptr)
return false;