diff options
| author | Bram Moolenaar <Bram@vim.org> | 2014-07-30 14:05:00 +0200 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2014-07-30 14:05:00 +0200 |
| commit | 23fb7a995534f45a497761461d487e38cc1067f7 (patch) | |
| tree | a4a90fb0edf1243cbd55b9e9f8fd222b30c730a3 /src/window.c | |
| parent | 278eb5820dbc486123df4b60cc116c7212f14a01 (diff) | |
| download | vim-git-23fb7a995534f45a497761461d487e38cc1067f7.tar.gz | |
updated for version 7.4.386v7.4.386
Problem: When splitting a window the changelist position is wrong.
Solution: Copy the changelist position. (Jacob Niehus)
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c index 1cf861b47..5012427fa 100644 --- a/src/window.c +++ b/src/window.c @@ -1178,6 +1178,11 @@ win_split_ins(size, flags, new_wp, dir) p_wh = size; } +#ifdef FEAT_JUMPLIST + /* Keep same changelist position in new window. */ + wp->w_changelistidx = oldwin->w_changelistidx; +#endif + /* * make the new window the current window */ |
