From b7b02ce8a4bd6b30b3fa3b0dd2e729fac6b62fae Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 6 Mar 2003 13:27:24 +0000 Subject: [PATCH] fixed a warning Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@715 --- src/shell/shell_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell/shell_misc.cpp b/src/shell/shell_misc.cpp index 63a4516d..2712a5fb 100644 --- a/src/shell/shell_misc.cpp +++ b/src/shell/shell_misc.cpp @@ -61,7 +61,7 @@ void DOS_Shell::InputCommand(char * line) { case 0x3d: /* F3 */ if (strlen(old.buffer)>str_len) { reader=&old.buffer[str_len]; - while (c=*reader++) { + while ((c=*reader++)) { line[str_index]=c; str_len++; str_index++;