Mercurial > vim
comparison src/tag.c @ 19241:c53dbbf3229b v8.2.0179
patch 8.2.0179: still a few places where range() does not work
Commit: https://github.com/vim/vim/commit/b09920203a0f2b202497ef9632f8447f73d0f1fb
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 30 14:55:42 2020 +0100
patch 8.2.0179: still a few places where range() does not work
Problem: Still a few places where range() does not work.
Solution: Fix using range() causing problems.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Jan 2020 15:00:03 +0100 |
parents | 1a3ebc75cf39 |
children | 5512aa74cb62 |
comparison
equal
deleted
inserted
replaced
19240:b30a4b89d48f | 19241:c53dbbf3229b |
---|---|
4265 if (action == 't') // truncate the stack | 4265 if (action == 't') // truncate the stack |
4266 { | 4266 { |
4267 taggy_T *tagstack = wp->w_tagstack; | 4267 taggy_T *tagstack = wp->w_tagstack; |
4268 int tagstackidx = wp->w_tagstackidx; | 4268 int tagstackidx = wp->w_tagstackidx; |
4269 int tagstacklen = wp->w_tagstacklen; | 4269 int tagstacklen = wp->w_tagstacklen; |
4270 | |
4270 // delete all the tag stack entries above the current entry | 4271 // delete all the tag stack entries above the current entry |
4271 while (tagstackidx < tagstacklen) | 4272 while (tagstackidx < tagstacklen) |
4272 tagstack_clear_entry(&tagstack[--tagstacklen]); | 4273 tagstack_clear_entry(&tagstack[--tagstacklen]); |
4273 wp->w_tagstacklen = tagstacklen; | 4274 wp->w_tagstacklen = tagstacklen; |
4274 } | 4275 } |