From 005cdeb8308e46fcc8e59abc9bae4c578aacbdd2 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 10 Feb 2010 12:36:46 +0000 Subject: Fix warning svn-id: r48031 --- engines/m4/console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3