Mercurial > vim
view pixmaps/tb_load_session.xpm @ 32507:2614026cd259 v9.0.1585
patch 9.0.1585: weird use of static variables for spell checking
Commit: https://github.com/vim/vim/commit/30805a1aba0067cf0087f9a0e5c184562433e2e7
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Sat May 27 22:22:10 2023 +0100
patch 9.0.1585: weird use of static variables for spell checking
Problem: Weird use of static variables for spell checking.
Solution: Move the variables to a structure and pass them from win_update()
to win_line(). (Luuk van Baal, closes #12448)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 May 2023 23:30:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_load_session_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 9 1 0 0", /* colors */ " s none m none c none", ". m black c #880000", "X s iconColor3 m black c #FF0000", "o s iconColor1 m black c #000000", "O s iconColor2 m none c #FFFFFF", "+ s iconGray2 m none c #bdbdbd", "@ s iconGray5 m black c #737373", "# s iconGray4 m none c #949494", "$ s bottomShadowColor m black c #5D6069", /* pixels */ " .. ", " .XX. ", " .XXXX. ", " ...XX... ", " .XX. ", " .XX. ", " .XX. ", " .... ", " ooooooooooooo ", " oOOOOOOOOOO++@o ", " oOOOOOOOOOOOO#@o ", " oO+++++++++XX#@o ", " oO+++++++++++#@o ", " oOoooooooooo+#@o$", " oOOOOOOOOOOO+#@o$", " o+###########@o$ ", " ooooooooooooo$ ", " $$$$$$$$$$$ "};