mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 04:17:01 +00:00
Problem: Previously the index was only checked against the UTF8 length. This could cause unexpected behaviours for strings containing multibyte chars Solution: Check indicies correctly against their max value before returning the fallback length