diff options
author | fullwaywang <fullwaywang@tencent.com> | 2023-06-24 21:58:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-06-24 21:58:09 +0100 |
commit | 8154e642aa476e1a5d3de66c34e8289845b2b797 (patch) | |
tree | 77568c08d310052f35548abf879939a5a4756b62 /src/testdir/dumps | |
parent | c9a4a8ab28da2b11856a3f08ccba2e91f46b85c3 (diff) |
patch 9.0.1664: divide by zero when scrolling with 'smoothscroll' setv9.0.1664
Problem: Divide by zero when scrolling with 'smoothscroll' set.
Solution: Avoid using a negative width. (closes #12540, closes #12528)
Diffstat (limited to 'src/testdir/dumps')
-rw-r--r-- | src/testdir/dumps/Test_smoothscroll_zero_bot.dump | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/testdir/dumps/Test_smoothscroll_zero_bot.dump b/src/testdir/dumps/Test_smoothscroll_zero_bot.dump new file mode 100644 index 0000000000..179b95c6e9 --- /dev/null +++ b/src/testdir/dumps/Test_smoothscroll_zero_bot.dump @@ -0,0 +1,19 @@ +| +0#af5f00255#ffffff0||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +|@+0#4040ff13&||+1#0000000&| +0&&@9 +>@+0#4040ff13&||+1#0000000&| +0&&@9 +|<+3&&| |<+1&&|a|m|e|]| |[|+|]| +| +0&&@11 |