diff options
author | James Booth <boothj5@gmail.com> | 2013-08-27 00:16:57 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-08-27 00:16:57 +0100 |
commit | 133614d749b108fba8f1946d441d1aa958c2883b (patch) | |
tree | 218983c29a4f465014a41bf05a40a20b6ade3ac4 /src | |
parent | 8045b949a7089be12fb7caaf2e4f355900c94e74 (diff) | |
parent | bac97125a33aeacc9d1bc70c557ee53c2c3459d4 (diff) | |
download | profani-tty-133614d749b108fba8f1946d441d1aa958c2883b.tar.gz |
Merge branch 'master' into windows
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/parser.c b/src/tools/parser.c index dabf7128..f273923a 100644 --- a/src/tools/parser.c +++ b/src/tools/parser.c @@ -210,7 +210,7 @@ parse_args_with_freetext(const char * const inp, int min, int max) } else { in_token = TRUE; num_tokens++; - if (num_tokens == max + 1) { + if ((num_tokens == max + 1) && (curr_uni != '"')) { in_freetext = TRUE; } else if (curr_uni == '"') { in_quotes = TRUE; |