diff options
| author | katalx | 2026-02-02 05:30:59 -0500 |
|---|---|---|
| committer | katalx | 2026-02-02 05:30:59 -0500 |
| commit | a41ef7e31d4ee9348fa4d222c27015feff569985 (patch) | |
| tree | c2dff2897fc4adf4ae618acb3e91818217af0bd5 /main.c | |
| parent | 9737033c1a2fccc8a4c0b031e27f7514e49e8d4b (diff) | |
only trim right of lines
Diffstat (limited to 'main.c')
| -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; } |
