about summary refs log tree commit diff stats
path: root/tests/unittests/helpers.c
diff options
context:
space:
mode:
authorMarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com>2022-06-16 21:07:15 +0300
committerMarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com>2022-06-16 21:07:15 +0300
commit13f1b831df2dc02a54e888c2f35b3acdb2baef7c (patch)
treebd5e856494f432dfaa4e93ffd69f829a2937cf75 /tests/unittests/helpers.c
parent7cb045fce78e4c8f89b546658d8d088e2a9c4a6e (diff)
downloadprofani-tty-13f1b831df2dc02a54e888c2f35b3acdb2baef7c.tar.gz
Improve cmd argument parser
"" used to become " now it just becomes an empty argument.
Also if quotes appeared after a token started then if the number of
quotes in the token is n the resulting one would be a token with the
n last characters cut off, now it's fixed.

Fixes https://github.com/profanity-im/profanity/issues/497
Diffstat (limited to 'tests/unittests/helpers.c')
0 files changed, 0 insertions, 0 deletions