Fixed logical comparision error

This commit is contained in:
jpk 2017-08-28 19:37:16 +02:00
parent 32c155300b
commit e5faee7070
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ void cmd_loop() {
if (pos2)
pos = pos2 + 1;
}
while (*pos != '\0' & *pos != ' ')
while (*pos != '\0' && *pos != ' ')
pos++;
if (*pos == ' ')
*pos++ = '\0';