Mercurial > vim
view pixmaps/tb_redo.xpm @ 30299:5c181bb6c855
patch 9.0.0485: in :def function all closures in loop get the same variables
Commit: https://github.com/vim/vim/commit/0cdfb7ce462393595b0308dcabf343e82f05319d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 17 15:44:52 2022 +0100
patch 9.0.0485: in :def function all closures in loop get the same variables
Problem: In a :def function all closures in a loop get the same variables.
Solution: Make a copy of loop variables used in a closure.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Sep 2022 16:45:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_redo_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 4 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 bottomShadowColor m black c #5D6069", /* pixels */ " ", " ", " ..... .. ", " ..XXXXX..X.o ", " .XXXXXXXXXX.o ", " .XX....XXXX.o ", " .XX.ooo.XXXX.o ", " .XX.o .XXXXX.o ", " .XX.o .......o ", " .XX.o ooo.ooo ", " .XX.o .X. ", " .XX.....XX.o ", " .XXXXXXXX.oo ", " ..XXXXX.oo ", " .....oo ", " ooooo ", " ", " "};