diff options
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ parse_linewise(Doc *d, int (*fn)(Doc *, Str)) { Str s = d->src; while (s.n > 0) { Cut c = str_cut(s, '\n'); - if (fn(d, str_trim(c.head))) + if (fn(d, str_trim_right(c.head))) return -1; s = c.tail; } |
