Mercurial > vim
view pixmaps/tb_jump.xpm @ 29208:b8dc0a76911e v8.2.5123
patch 8.2.5123: using invalid index when looking for spell suggestions
Commit: https://github.com/vim/vim/commit/156d3911952d73b03d7420dc3540215247db0fe8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 18 14:09:08 2022 +0100
patch 8.2.5123: using invalid index when looking for spell suggestions
Problem: Using invalid index when looking for spell suggestions.
Solution: Do not decrement the index when it is zero.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 18 Jun 2022 15:15:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_jump_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 6 1 0 0", /* colors */ " s none m none c none", ". m black c #888800", "X s bottomShadowColor m black c #5D6069", "o s iconColor6 m none c #FFFF00", "O s iconColor1 m black c #000000", "+ s topShadowColor m none c #DCDEE5", /* pixels */ " ", " ", " ", " ", " .............. ", " .XooooooooooooOX", " .XoooooooooooooOX", ".Xo+X+ooooooooooOX", ".ooXOXooooooooooOX", "Xoo+X+ooooooooooOX", "XOooooooooooooooOX", " XOoooooooooooooOX", " XOOOOOOOOOOOOOOX", " XXXXXXXXXXXXXXX", " ", " ", " ", " "};