aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/gp32
diff options
context:
space:
mode:
authorJohannes Schickel2006-08-28 13:39:44 +0000
committerJohannes Schickel2006-08-28 13:39:44 +0000
commitd639ca97ce7c3820f08be7e24f224af351222c31 (patch)
tree43fb07f774c39302934b0bf07824bb97c6365903 /backends/fs/gp32
parentac45e290f7550da70039c1d2051d7e6ed31cc7b7 (diff)
downloadscummvm-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
Diffstat (limited to 'backends/fs/gp32')
-rw-r--r--backends/fs/gp32/gp32-fs.cpp2
1 files changed, 1 insertions, 1 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;
}