diff options
-rw-r--r-- | engines/cine/saveload.cpp | 2 | ||||
-rw-r--r-- | engines/cine/sound.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/saveload.cpp b/engines/cine/saveload.cpp index 0ea1a23e8f..223099a587 100644 --- a/engines/cine/saveload.cpp +++ b/engines/cine/saveload.cpp @@ -1034,7 +1034,7 @@ void loadResourcesFromSave(Common::SeekableReadStream &fHandle, enum CineSaveGam } // Alright, the animation entry looks to be valid so let's start handling it... - if (strcmp(currentPartName, name)) { + if (strcmp(currentPartName, name) != 0) { closePart(); loadPart(name); } diff --git a/engines/cine/sound.cpp b/engines/cine/sound.cpp index 0c3541fae7..48c5e3d0a5 100644 --- a/engines/cine/sound.cpp +++ b/engines/cine/sound.cpp @@ -602,7 +602,7 @@ bool PCSoundFxPlayer::load(const char *song) { memcpy(instrument, _sfxData + 20 + i * 30, 12); instrument[63] = '\0'; - if (strlen(instrument) != 0) { + if (instrument[0] != '\0') { char *dot = strrchr(instrument, '.'); if (dot) { *dot = '\0'; |