From 306d6db39b4704ab7c8308939b728fcc860054df Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 17 May 2001 20:05:36 +0000 Subject: [PATCH] if ... if -> if ... else if --- libs/util/cmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/util/cmd.c b/libs/util/cmd.c index b5dbcf47a..56f12c20e 100644 --- a/libs/util/cmd.c +++ b/libs/util/cmd.c @@ -230,8 +230,7 @@ Cbuf_Execute_Sets (void) if (strnequal (line, "set", 3) && isspace ((int) line[3])) { // Con_DPrintf ("+%s\n",line); Cmd_ExecuteString (line, src_command); - } - if (strnequal (line, "setrom", 6) && isspace ((int) line[6])) { + } else if (strnequal (line, "setrom", 6) && isspace ((int) line[6])) { // Con_DPrintf ("+%s\n",line); Cmd_ExecuteString (line, src_command); }