summaryrefslogtreecommitdiff
path: root/src/input/ArchiveInputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/ArchiveInputPlugin.cxx')
-rw-r--r--src/input/ArchiveInputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/ArchiveInputPlugin.cxx b/src/input/ArchiveInputPlugin.cxx
index 08e1cabfe..bc97ad314 100644
--- a/src/input/ArchiveInputPlugin.cxx
+++ b/src/input/ArchiveInputPlugin.cxx
@@ -26,6 +26,7 @@
#include "InputPlugin.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
+#include "fs/Path.hxx"
#include "Log.hxx"
#include <glib.h>
@@ -49,7 +50,7 @@ input_archive_open(const char *pathname,
char *archive, *filename, *suffix, *pname;
struct input_stream *is;
- if (!g_path_is_absolute(pathname))
+ if (!Path::IsAbsoluteFS(pathname))
return NULL;
pname = g_strdup(pathname);