Skip to content
Myr

Fix incorrect overflow detection when --wrap is set

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #4083

authored by Junegunn Choi · committed by Junegunn Choi · parent 20c7dcf · Browse files · 1 file+1 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

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/util/chars.go+1 added-1 removed
304 unmodified lines
305 break306 }307 }308309 return wrapped, false309 return wrapped, overflow310}