Mercurial > vim
view runtime/vim32x32.xpm @ 23669:cf2904dd9691 v8.2.2376
patch 8.2.2376: Vim9: crash when dividing by zero in compiled code
Commit: https://github.com/vim/vim/commit/e64f83cc6aba05baa61ba4a4cb8d4447b8091e5b
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 19 22:16:41 2021 +0100
patch 8.2.2376: Vim9: crash when dividing by zero in compiled code
Problem: Vim9: crash when dividing by zero in compiled code using
constants.
Solution: Call num_divide() and num_modulus(). (closes #7704)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 19 Jan 2021 22:30:08 +0100 |
parents | 3fc0f57ecb91 |
children | 8f04cf65ecff |
line wrap: on
line source
/* XPM */ static char * vim32x32[] = { "32 32 8 1", " c None", ". c #000000", "+ c #000080", "@ c #008000", "# c #00FF00", "$ c #808080", "% c #C0C0C0", "& c #FFFFFF", " .. ", " .##. ", " ...........#@@#. ......... ", " .&&&&&&&&&&&.@@@#.&&&&&&&&&. ", " .&%%%%%%%%%%%.@@@.&%%%%%%%%%. ", " .%%%%%%%%%%$.@@@@.%%%%%%%%$. ", " .$%%%%%%$$.@@@@@@.$%%%%%$$. ", " .&%%%%%%$.@@@@@@.&%%%%%$$. ", " .&%%%%%%$.@@@@@.&&%%%%$$. ", " .&%%%%%%$.@@@@.&&%%%%$$. ", " .&%%%%%%$.@@@.&&%%%%$$. ", " .&%%%%%%$.@@.&&%%%%$$.#. ", " ..&%%%%%%$.@.&&%%%%$$.@@#. ", " .#.&%%%%%%$..&&%%%%$$.@@@@#. ", " .#@.&%%%%%%$.&&%%%%$$.@@@@@@#. ", ".#@@.&%%%%%%$&&%%%%$$.@@@@@@@@#.", ".+@@.&%%%%%%$&%%%%$$.@@@@@@@@@+.", " .+@.&%%%%%%$%%%%$$.@@@@@@@@@+. ", " .+.&%%%%%%%%%%...@@@@@@@@@+. ", " ..&%%%%%%%%%.%%.@@@@@@@@+. ", " .&%%%%%%%%%.%%.@@@@@@@+. ", " .&%%%%%%%%$...@...@...... ", " .&%%%%%%%$.%%%.%%%.%%%.%%. ", " .&%%%%%%$$..%%..%%%%%%%%%%. ", " .&%%%%%$$..%%...%%++%%..%. ", " .&%%%%$$.@.%%..%%+.%%..%%. ", " .&%%%$$.@@.%%..%%..%%..%%. ", " .&%%$$..+.%%..%%..%%..%%. ", " .%$$. ..%%%.%%..%%..%%%. ", " ... ....+.. .. ... ", " .++. ", " .. "};