diff options
author | Eugene Sandulenko | 2020-01-01 15:24:15 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2020-01-01 15:24:15 +0100 |
commit | 724ced87d03dcafd45164e70ef14190023c4dec8 (patch) | |
tree | aa7af196c4bd70c64c82510afcdfa4d8439213ef /engines/director/util.cpp | |
parent | ec56be281d65384edb643d10ab705a7cf6a2c858 (diff) | |
download | scummvm-rg350-724ced87d03dcafd45164e70ef14190023c4dec8.tar.gz scummvm-rg350-724ced87d03dcafd45164e70ef14190023c4dec8.tar.bz2 scummvm-rg350-724ced87d03dcafd45164e70ef14190023c4dec8.zip |
DIRECTOR: Improve path converting
Diffstat (limited to 'engines/director/util.cpp')
-rw-r--r-- | engines/director/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/util.cpp b/engines/director/util.cpp index 9afc19171f..f3db3ff643 100644 --- a/engines/director/util.cpp +++ b/engines/director/util.cpp @@ -122,9 +122,9 @@ Common::String convertPath(Common::String &path) { Common::String res; uint32 idx = 0; - if (path.hasPrefix(":::")) { + if (path.hasPrefix("::")) { res = "../"; - idx = 3; + idx = 2; } else { res = "./"; idx = 1; |