Mercurial > vim
diff LICENSE @ 35159:531c6b18dd0f v9.1.0406
patch 9.1.0406: Divide by zero with getmousepos() and 'smoothscroll'
Commit: https://github.com/vim/vim/commit/031a745608d615d56f9d79bb0f76e2a74b2eaf14
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat May 11 11:23:37 2024 +0200
patch 9.1.0406: Divide by zero with getmousepos() and 'smoothscroll'
Problem: Divide by zero with getmousepos() and 'smoothscroll'.
Solution: Don't compute skip_lines when width1 is zero.
(zeertzjq)
closes: #14747
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 11 May 2024 11:30:13 +0200 |
parents | 4027cefc2aab |
children |