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:
parent
b8fd79486f
commit
90336c88ac
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue