From 758e969cb62c92e0e838c4376344cc8d9176c04e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Mar 2015 08:40:30 +0100 Subject: input/Open: use PathTraitsUTF8 to check UTF-8 path --- src/input/Open.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input') 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); -- cgit v1.2.3