summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-05 08:40:30 +0100
committerMax Kellermann <max@duempel.org>2015-03-05 08:40:34 +0100
commit758e969cb62c92e0e838c4376344cc8d9176c04e (patch)
tree9ec85b7902b4f3d76e36394b5e1761fc4fc20bc2 /src/input
parenta9a6a5041bc3ce3c00abd2e00a9ecf6466bcd269 (diff)
input/Open: use PathTraitsUTF8 to check UTF-8 path
Diffstat (limited to 'src/input')
-rw-r--r--src/input/Open.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/Open.cxx b/src/input/Open.cxx
index d3c9b7530..5f3196709 100644
--- a/src/input/Open.cxx
+++ b/src/input/Open.cxx
@@ -34,7 +34,7 @@ InputStream::Open(const char *url,
Mutex &mutex, Cond &cond,
Error &error)
{
- if (PathTraitsFS::IsAbsolute(url))
+ if (PathTraitsUTF8::IsAbsolute(url))
/* TODO: the parameter is UTF-8, not filesystem charset */
return OpenLocalInputStream(Path::FromFS(url),
mutex, cond, error);