diff options
author | Lars Persson | 2008-04-02 21:19:17 +0000 |
---|---|---|
committer | Lars Persson | 2008-04-02 21:19:17 +0000 |
commit | acc5d79d7c76c4ad5cc45c608ebee72c0a7af1de (patch) | |
tree | e9d577507b0de44edc05931f007b96ea48af8313 /backends/fs | |
parent | 9bda4980990be08fbdd8595ee01080aceec9699b (diff) | |
download | scummvm-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.cpp | 8 |
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); } } } |