diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-13 13:33:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-13 13:33:29 +0100 |
commit | 486797413791f6be12dcec6e5faf4f952e4647ae (patch) | |
tree | 634eaba94ff66c1da1e52fd4a574247b8c8cbf0c /src/proto/mark.pro | |
parent | e4db7aedab65abadcc84c78e7a10ec7bb62f11cf (diff) | |
download | vim-git-486797413791f6be12dcec6e5faf4f952e4647ae.tar.gz |
patch 8.0.1513: the jumplist is not always properly cleaned upv8.0.1513
Problem: The jumplist is not always properly cleaned up.
Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan)
Diffstat (limited to 'src/proto/mark.pro')
-rw-r--r-- | src/proto/mark.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/mark.pro b/src/proto/mark.pro index aa6f44efc..448b45273 100644 --- a/src/proto/mark.pro +++ b/src/proto/mark.pro @@ -24,7 +24,7 @@ void mark_adjust_nofold(linenr_T line1, linenr_T line2, long amount, long amount void mark_col_adjust(linenr_T lnum, colnr_T mincol, long lnum_amount, long col_amount); void copy_jumplist(win_T *from, win_T *to); void free_jumplist(win_T *wp); -void cleanup_jumplist(win_T *wp); +void cleanup_jumplist(win_T *wp, int loadfiles); void set_last_cursor(win_T *win); void free_all_marks(void); int read_viminfo_filemark(vir_T *virp, int force); |