diff options
| -rw-r--r-- | engines/gob/inter_playtoons.cpp | 2 | ||||
| -rw-r--r-- | engines/gob/save/saveload.cpp | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/inter_playtoons.cpp b/engines/gob/inter_playtoons.cpp index ab7bf819cc..e224f29734 100644 --- a/engines/gob/inter_playtoons.cpp +++ b/engines/gob/inter_playtoons.cpp @@ -150,7 +150,7 @@ void Inter_Playtoons::oPlaytoons_openItk() {  		strcat(fileName, ".ITK");  	// Workaround for Bambou : In the script, the path is hardcoded (!!) -	if ((backSlash = strrchr(fileName, '\\')) != 0) { +	if ((backSlash = strrchr(fileName, '\\'))) {  		debugC(2, kDebugFileIO, "Opening ITK file \"%s\" instead of \"%s\"", backSlash + 1, fileName);  		_vm->_dataIO->openDataFile(backSlash + 1, true);  	} else diff --git a/engines/gob/save/saveload.cpp b/engines/gob/save/saveload.cpp index 27e3b34655..81239f07dc 100644 --- a/engines/gob/save/saveload.cpp +++ b/engines/gob/save/saveload.cpp @@ -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;  | 
