diff options
author | Johannes Schickel | 2006-08-28 13:39:44 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-08-28 13:39:44 +0000 |
commit | d639ca97ce7c3820f08be7e24f224af351222c31 (patch) | |
tree | 43fb07f774c39302934b0bf07824bb97c6365903 | |
parent | ac45e290f7550da70039c1d2051d7e6ed31cc7b7 (diff) | |
download | scummvm-rg350-d639ca97ce7c3820f08be7e24f224af351222c31.tar.gz scummvm-rg350-d639ca97ce7c3820f08be7e24f224af351222c31.tar.bz2 scummvm-rg350-d639ca97ce7c3820f08be7e24f224af351222c31.zip |
Oops. some systems are using '\\' instead of '/' fixing that now...
svn-id: r23797
-rw-r--r-- | backends/fs/gp32/gp32-fs.cpp | 2 | ||||
-rw-r--r-- | backends/fs/symbian/symbian-fs.cpp | 2 | ||||
-rw-r--r-- | backends/fs/windows/windows-fs.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/backends/fs/gp32/gp32-fs.cpp b/backends/fs/gp32/gp32-fs.cpp index 1288622632..c80e5a4f8f 100644 --- a/backends/fs/gp32/gp32-fs.cpp +++ b/backends/fs/gp32/gp32-fs.cpp @@ -198,7 +198,7 @@ static const char *lastPathComponent(const Common::String &str) { const char *start = str.c_str(); const char *cur = start + str.size() - 2; - while (cur >= start && *cur != '/') { + while (cur >= start && *cur != '\\') { --cur; } diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp index 4dca90e1db..3642e73159 100644 --- a/backends/fs/symbian/symbian-fs.cpp +++ b/backends/fs/symbian/symbian-fs.cpp @@ -62,7 +62,7 @@ static const char *lastPathComponent(const Common::String &str) { const char *start = str.c_str(); const char *cur = start + str.size() - 2; - while (cur >= start && *cur != '/') { + while (cur >= start && *cur != '\\') { --cur; } diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index 0472f248b2..7913fd1936 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -65,7 +65,7 @@ static const char *lastPathComponent(const Common::String &str) { const char *start = str.c_str(); const char *cur = start + str.size() - 2; - while (cur >= start && *cur != '/') { + while (cur >= start && *cur != '\\') { --cur; } |