mirror of
https://github.com/neovim/neovim.git
synced 2026-02-06 12:31:38 +10:00
Problem: Divide by zero when scrolling with 'smoothscroll' set.
Solution: Avoid using a negative width. (closes vim/vim#12540, closes vim/vim#12528)
8154e642aa
Co-authored-by: fullwaywang <fullwaywang@tencent.com>