Allow no-space after initial command

Addresses issue #2715
This commit is contained in:
Scott Lahteine 2016-02-09 18:00:35 -08:00
parent 159ff94afd
commit cdcb80f3c5

View file

@ -5716,7 +5716,7 @@ void process_next_command() {
// Args pointer optimizes code_seen, especially those taking XYZEF
// This wastes a little cpu on commands that expect no arguments.
current_command_args = current_command;
while (*current_command_args && *current_command_args != ' ') ++current_command_args;
while (*current_command_args >= '0' && *current_command_args <= '9') ++current_command_args;
while (*current_command_args == ' ') ++current_command_args;
// Interpret the code int