aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/console.cpp2
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);