1
0
Fork 0

fixed a warning

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@715
This commit is contained in:
Peter Veenstra 2003-03-06 13:27:24 +00:00
parent e304c3262b
commit b7b02ce8a4

View file

@ -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++;