Symbian^3 compilation fixes.

This commit is contained in:
Xawotihs
2011-11-07 23:32:02 +00:00
parent eda32239ab
commit ad5edc224d
12 changed files with 18 additions and 14 deletions

View File

@@ -142,14 +142,16 @@ JFileSystem::JFileSystem(const string & _userPath, const string & _systemPath)
// Make sure the base paths finish with a '/' or a '\'
if (! userPath.empty()) {
string::iterator c = --(userPath.end());
string::iterator c = userPath.end();//userPath.at(userPath.size()-1);
c--;
if ((*c != '/') && (*c != '\\'))
userPath += '/';
}
if (! systemPath.empty()) {
string::iterator c = --(systemPath.end());
if ((*c != '/') && (*c != '\\'))
string::iterator c = systemPath.end();//systemPath.at(systemPath.size()-1);
c--;
if ((*c != '/') && (*c != '\\'))
systemPath += '/';
}