aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorLars Persson2008-04-02 21:19:17 +0000
committerLars Persson2008-04-02 21:19:17 +0000
commitacc5d79d7c76c4ad5cc45c608ebee72c0a7af1de (patch)
treee9d577507b0de44edc05931f007b96ea48af8313 /backends/fs
parent9bda4980990be08fbdd8595ee01080aceec9699b (diff)
downloadscummvm-rg350-acc5d79d7c76c4ad5cc45c608ebee72c0a7af1de.tar.gz
scummvm-rg350-acc5d79d7c76c4ad5cc45c608ebee72c0a7af1de.tar.bz2
scummvm-rg350-acc5d79d7c76c4ad5cc45c608ebee72c0a7af1de.zip
Remove Symbian FS creation from common SDL code
svn-id: r31364
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/symbian/symbian-fs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/fs/symbian/symbian-fs.cpp b/backends/fs/symbian/symbian-fs.cpp
index e4482e85ce..85fc58179a 100644
--- a/backends/fs/symbian/symbian-fs.cpp
+++ b/backends/fs/symbian/symbian-fs.cpp
@@ -106,12 +106,12 @@ const char *lastPathComponent(const Common::String &str) {
*
* @param path String with the path to be fixed.
*/
-static void fixFilePath(Common::String& path) {
- TInt len = path.size();
+static void fixFilePath(Common::String& aPath){
+ TInt len = aPath.size();
for (TInt index = 0; index < len; index++) {
- if (path[index] == '/') {
- path[index] = '\\';
+ if (aPath[index] == '/') {
+ aPath.setChar('\\', index);
}
}
}