Mercurial > vim
view pixmaps/tb_find.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_find_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s iconColor2 m none c #FFFFFF", "O s iconGray2 m none c #bdbdbd", "+ s bottomShadowColor m black c #5D6069", /* pixels */ " ", " ......... ", " .XXXXXXX.. ", " .XXXXXXX.O. ", " .XXXXXXX.... ", " .XXXXXXXXXX. ", " .XXXXXXX.... ", " .XXXXXX.OOOO. ", " .XXXXX.OXXOOO. ", " .XXXXX.OXOOOO. ", " .XXXXX.OOOOOO. ", " .XXXXX.OOOXOO. ", " .XXXXXX.OOOO.+ ", " .XXXXXXX....+.. ", " .XXXXXXXXXX.+... ", " ............+ .. ", " ++++++++++ ", " "};