diff options
author | Eugene Sandulenko | 2011-11-02 23:04:49 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2011-11-02 23:04:49 +0000 |
commit | 95f890c3508543f3172ba4450211f1e9dba79f23 (patch) | |
tree | 3497117e96459ae3febde3225cdb727b3b6f36cd /engines | |
parent | 0e1affcc97a856d5c4d6cdd76eaf7d26f8ab4c9c (diff) | |
download | scummvm-rg350-95f890c3508543f3172ba4450211f1e9dba79f23.tar.gz scummvm-rg350-95f890c3508543f3172ba4450211f1e9dba79f23.tar.bz2 scummvm-rg350-95f890c3508543f3172ba4450211f1e9dba79f23.zip |
CINE: Fix warnings
Diffstat (limited to 'engines')
-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'; |