diff options
author | Willem Jan Palenstijn | 2010-02-10 12:36:46 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2010-02-10 12:36:46 +0000 |
commit | 005cdeb8308e46fcc8e59abc9bae4c578aacbdd2 (patch) | |
tree | 9700b0434965aee78bb3175ab352c6108777e30b /engines | |
parent | 3415cae9ad8d588c04926c0c695bc277796f17ef (diff) | |
download | scummvm-rg350-005cdeb8308e46fcc8e59abc9bae4c578aacbdd2.tar.gz scummvm-rg350-005cdeb8308e46fcc8e59abc9bae4c578aacbdd2.tar.bz2 scummvm-rg350-005cdeb8308e46fcc8e59abc9bae4c578aacbdd2.zip |
Fix warning
svn-id: r48031
Diffstat (limited to 'engines')
-rw-r--r-- | engines/m4/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/console.cpp b/engines/m4/console.cpp index 31227ff307..25d568f8ac 100644 --- a/engines/m4/console.cpp +++ b/engines/m4/console.cpp @@ -349,7 +349,7 @@ bool MadsConsole::cmdMessage(int argc, const char **argv) { else { int messageIdx = strToInt(argv[1]); - if ((argc != 3) || (strcmp(argv[2], "idx") != NULL)) + if ((argc != 3) || (strcmp(argv[2], "idx") != 0)) messageIdx = _vm->globals()->messageIndexOf(messageIdx); const char *msg = _vm->globals()->loadMessage(messageIdx); |