aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/windows
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/windows
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/windows')
-rw-r--r--backends/fs/windows/windows-fs.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}