]> granicus.if.org Git - vim/commit
patch 8.0.1290: seq_cur of undotree() wrong after undo v8.0.1290
authorBram Moolenaar <Bram@vim.org>
Sat, 11 Nov 2017 22:37:08 +0000 (23:37 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 11 Nov 2017 22:37:08 +0000 (23:37 +0100)
commit80eaddd3a0bc47cb14168964678420cfe03a2502
tree0e66e678c9860233e0cbcc6350a3414bd8c08c5a
parent7f2e9d7c9cdfc5201a899b7b610edf64bf80c45f
patch 8.0.1290: seq_cur of undotree() wrong after undo

Problem:    seq_cur of undotree() wrong after undo.
Solution:   Get the actual sequence number instead of decrementing the current
            one. (Ozaki Kiichi, closes #2319)
src/testdir/test_undo.vim
src/undo.c
src/version.c