mirror of
https://github.com/neovim/neovim.git
synced 2025-12-14 18:35:47 +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