mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
parent
d27db7ed34
commit
efc9c53465
@ -210,7 +210,7 @@ parse_args_with_freetext(const char * const inp, int min, int max)
|
|||||||
} else {
|
} else {
|
||||||
in_token = TRUE;
|
in_token = TRUE;
|
||||||
num_tokens++;
|
num_tokens++;
|
||||||
if (num_tokens == max + 1) {
|
if ((num_tokens == max + 1) && (curr_uni != '"')) {
|
||||||
in_freetext = TRUE;
|
in_freetext = TRUE;
|
||||||
} else if (curr_uni == '"') {
|
} else if (curr_uni == '"') {
|
||||||
in_quotes = TRUE;
|
in_quotes = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user