Add back parenthesis (I wasn't aware of this convention, sorry) in saveload, and mimic this code in oPlaytoons_openItk

svn-id: r43464
This commit is contained in:
Arnaud Boutonné 2009-08-17 10:05:02 +00:00
parent b8fd79486f
commit 90336c88ac
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ SaveLoad::~SaveLoad() {
const char *SaveLoad::stripPath(const char *fileName) {
const char *backSlash;
if (backSlash = strrchr(fileName, '\\'))
if ((backSlash = strrchr(fileName, '\\')))
return backSlash + 1;
return fileName;