diff --git a/src/core/file_unix.cpp b/src/core/file_unix.cpp index aa963dc..f5bad8a 100644 --- a/src/core/file_unix.cpp +++ b/src/core/file_unix.cpp @@ -527,7 +527,7 @@ bool cArosPath::IsAbsolutePath(const TSTRING& in) if (in[0] == '/') return true; - if (in.find(":/") != std::string::npos) + if (in.find(":") != std::string::npos) return true; return false; @@ -554,12 +554,13 @@ TSTRING cArosPath::AsNative( const TSTRING& in ) return in; } - int x = 1; - for ( x; in[x] == '/' && x