]> granicus.if.org Git - vim/commit
patch 9.0.1367: divide by zero in zero-width window v9.0.1367
authorBram Moolenaar <Bram@vim.org>
Wed, 1 Mar 2023 17:55:31 +0000 (17:55 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 1 Mar 2023 17:55:31 +0000 (17:55 +0000)
commite0f869196930ef5f25a0ac41c9215b09c9ce2d3c
tree0c336b208dc0c423f9ec6778492392a3d80be8e5
parentad60898aa47b44fdece12d28c471fb50df27fb50
patch 9.0.1367: divide by zero in zero-width window

Problem:    Divide by zero in zero-width window.
Solution:   Check the width is positive.
src/move.c
src/testdir/test_window_cmd.vim
src/version.c