]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0730: Crash with cursor-screenline and narrow window v9.1.0730
authorzeertzjq <zeertzjq@outlook.com>
Sat, 14 Sep 2024 08:40:29 +0000 (10:40 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 14 Sep 2024 08:40:29 +0000 (10:40 +0200)
commit59149f02692804267e7cc0665d0334f6ff4675be
tree77a911b72acbec876eed99acd8398005335573b4
parent86dc4f8b432233a01d022c3e71df53db58229713
patch 9.1.0730: Crash with cursor-screenline and narrow window

Problem:  Crash with cursor-screenline and narrow window
          (elig0n)
Solution: Don't set right_col when width2 is 0 (zeertzjq).

fixes: #15677
closes: #15678

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/drawline.c
src/testdir/test_cursorline.vim
src/version.c