Mercurial > vim
view pixmaps/tb_undo.xpm @ 16996:d5e1e09a829f v8.1.1498
patch 8.1.1498: ":write" increments b:changedtick even though nothing changed
commit https://github.com/vim/vim/commit/c024b4667875e5bc6fd0ed791530e33c3161bff7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 8 18:07:21 2019 +0200
patch 8.1.1498: ":write" increments b:changedtick even though nothing changed
Problem: ":write" increments b:changedtick even though nothing changed.
(Daniel Hahler)
Solution: Only increment b:changedtick if the modified flag is reset.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Jun 2019 18:15:05 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_undo_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 */ " ", " ", " .. ..... ", " .X..XXXXX.. ", " .XXXXXXXXXX. ", " .XXXX....XX.o ", " .XXXX.ooo.XX. ", " .XXXXX. .XX.o ", " .......o .XX.o ", " o.ooooo .XX.o ", " .X. .XX.o ", " .XX.....XX.oo ", " .XXXXXXXX.o ", " .XXXXX..oo ", " .....ooo ", " ooooo ", " ", " "};