From 311795bf412012ae42c0a4e4ba0afc55517f2bc8 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 13 Sep 2018 15:11:05 -0400 Subject: Return a format->split even at the end of the string --- format.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/format.c b/format.c index 30b287e..b9cd8b1 100644 --- a/format.c +++ b/format.c @@ -66,7 +66,13 @@ static const wchar_t Stops[] = { bool formatParse(struct Format *format, const wchar_t *split) { format->str += format->len; - if (!format->str[0]) return false; + if (!format->str[0]) { + if (split == format->str && !format->split) { + format->split = true; + return true; + } + return false; + } const wchar_t *init = format->str; switch (format->str[0]) { -- cgit 1.4.0 '>master dontfiles
summary refs log tree commit diff
path: root/etc/CodeQWERTY.keylayout (unfollow)
Commit message (Expand)Author
2019-01-10Fix unused copyright and rcsid in cashJune McEnroe
2019-01-10Remove cash/testsJune McEnroe
2019-01-10Remove funcsJune McEnroe
2019-01-10Remove profile and dot.profileJune McEnroe
2019-01-10Replace strchrnul with strchrJune McEnroe
2019-01-10Replace eaccess with faccessatJune McEnroe
2019-01-10Replace st_mtim with st_mtimespecJune McEnroe
2019-01-10Replace sys_nsig with NSIGJune McEnroe
2019-01-10Replace cash MakefileJune McEnroe
2019-01-10Move bltin out of subdirectoryJune McEnroe