render: fix crash when 'tabs = 0'
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When tabs is 0, and there's a tab character in the entry name, fuzzel crashes. This happens because we divide the current cluster's length with the tab count (modulus, really). Simply set chars_to_next_tab_stop to 0 when tabs is 0. Closes #348
authored by Daniel Eklöf · committed by Daniel Eklöf · parent 7e9e8aa · Browse files · 2 files+6 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+6 added−1 removed
- other:+6 added−1 removed