mirror of
https://github.com/neovim/neovim.git
synced 2025-12-03 07:23:05 +00:00
Problem: smoothscroll may cause infinite loop, with
very narrow windows
(Jaehwang Jung, after v9.1.0280)
Solution: Check for width1 being negative, verify
that win_linetabsize does not overflow
fixes: vim/vim#14750
closes: vim/vim#14772
eff20eb35d
Co-authored-by: Christian Brabandt <cb@256bit.org>