summaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-30 14:55:42 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-30 14:55:42 +0100
commitb09920203a0f2b202497ef9632f8447f73d0f1fb (patch)
tree2103a2423c7222e61f77a9138331d5444fa18de3 /src/tag.c
parentdf54382eacdbfa10291adb80ad6b89ad83bd7c9b (diff)
downloadvim-git-b09920203a0f2b202497ef9632f8447f73d0f1fb.tar.gz
patch 8.2.0179: still a few places where range() does not workv8.2.0179
Problem: Still a few places where range() does not work. Solution: Fix using range() causing problems.
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index cfc300e46..148a5a013 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -4267,6 +4267,7 @@ set_tagstack(win_T *wp, dict_T *d, int action)
taggy_T *tagstack = wp->w_tagstack;
int tagstackidx = wp->w_tagstackidx;
int tagstacklen = wp->w_tagstacklen;
+
// delete all the tag stack entries above the current entry
while (tagstackidx < tagstacklen)
tagstack_clear_entry(&tagstack[--tagstacklen]);