From acc5d79d7c76c4ad5cc45c608ebee72c0a7af1de Mon Sep 17 00:00:00 2001 From: Lars Persson Date: Wed, 2 Apr 2008 21:19:17 +0000 Subject: Remove Symbian FS creation from common SDL code svn-id: r31364 --- backends/fs/symbian/symbian-fs.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/fs') 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); } } } -- cgit v1.2.3