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

@@ -51,7 +51,8 @@ filesystem::filesystem(const char * BasePath, const char * FileExt, bool Default
// Init m_BasePath and be sure the base path finish with a '/' or a '\'
if (! m_BasePath.empty()) {
string::iterator c = --(m_BasePath.end());
string::iterator c = m_BasePath.end();
c--;
if ((*c != '/') && (*c != '\\'))
m_BasePath += '/';
}