diff options
Diffstat (limited to 'backends/fs/symbian')
| -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); } } } |
