Mercurial > vim
annotate pixmaps/tb_minwidth.xpm @ 28429:aa9720c76412 v8.2.4739
patch 8.2.4739: accessing freed memory after WinScrolled autocmd event
Commit: https://github.com/vim/vim/commit/d58862d18f091d3c14fa3647e724ef7eea1ecefa
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue Apr 12 11:32:48 2022 +0100
patch 8.2.4739: accessing freed memory after WinScrolled autocmd event
Problem: Accessing freed memory after WinScrolled autocmd event.
Solution: Check the window pointer is still valid. (closes https://github.com/vim/vim/issues/10156)
Remove the argument from may_trigger_winscrolled().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Apr 2022 12:45:04 +0200 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 /* XPM */ |
2 static char * tb_minwidth_xpm[] = { | |
3 /* width height ncolors cpp [x_hot y_hot] */ | |
4 "18 18 5 1 0 0", | |
5 /* colors */ | |
6 " s none m none c none", | |
7 ". s topShadowColor m none c #DCDEE5", | |
8 "X s iconColor1 m black c #000000", | |
9 "o s iconColor2 m none c #FFFFFF", | |
10 "O s bottomShadowColor m black c #5D6069", | |
11 /* pixels */ | |
12 " ", | |
13 " ", | |
14 " .XXXXXX ", | |
15 " .X...oX ", | |
16 " .X...oX ", | |
17 " .X...oX ", | |
18 " X .X.o.oXO X ", | |
19 " XX .X...oXO XX ", | |
20 " XXX .X...oXO XXX ", | |
21 " XX .X...oXO XX ", | |
22 " X .X...oXO X ", | |
23 " .X...oXO ", | |
24 " .X..ooXO ", | |
25 " .XooooXO ", | |
26 " .XXXXXXO ", | |
27 " OOOOO ", | |
28 " ", | |
29 " "}; |