diff options
author | Max Kellermann <max@duempel.org> | 2015-03-05 08:40:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-05 08:40:34 +0100 |
commit | 758e969cb62c92e0e838c4376344cc8d9176c04e (patch) | |
tree | 9ec85b7902b4f3d76e36394b5e1761fc4fc20bc2 /src/input/Open.cxx | |
parent | a9a6a5041bc3ce3c00abd2e00a9ecf6466bcd269 (diff) | |
download | mpd-758e969cb62c92e0e838c4376344cc8d9176c04e.tar.gz mpd-758e969cb62c92e0e838c4376344cc8d9176c04e.tar.xz mpd-758e969cb62c92e0e838c4376344cc8d9176c04e.zip |
input/Open: use PathTraitsUTF8 to check UTF-8 path
Diffstat (limited to '')
-rw-r--r-- | src/input/Open.cxx | 2 |
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); |