Tweak comment in process_next_command
This commit is contained in:
parent
400e9329be
commit
711e5db19a
@ -5692,7 +5692,7 @@ void process_next_command() {
|
|||||||
|
|
||||||
// Sanitize the current command:
|
// Sanitize the current command:
|
||||||
// - Skip leading spaces
|
// - Skip leading spaces
|
||||||
// - Bypass N[0-9][0-9]*[ ]*
|
// - Bypass N[-0-9][0-9]*[ ]*
|
||||||
// - Overwrite * with nul to mark the end
|
// - Overwrite * with nul to mark the end
|
||||||
while (*current_command == ' ') ++current_command;
|
while (*current_command == ' ') ++current_command;
|
||||||
if (*current_command == 'N' && ((current_command[1] >= '0' && current_command[1] <= '9') || current_command[1] == '-')) {
|
if (*current_command == 'N' && ((current_command[1] >= '0' && current_command[1] <= '9') || current_command[1] == '-')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user