vim-patch:7.4.1751

Problem:    Crash when 'tagstack' is off. (Dominique Pelle)
Solution:   Fix it. (Hirohito Higashi)

def5abe0a2
This commit is contained in:
James McCoy
2016-12-07 10:40:33 -05:00
parent e6b7dade4f
commit 4f3c9ad4d7
3 changed files with 6 additions and 1 deletions

View File

@@ -216,6 +216,10 @@ do_tag (
if (!p_tgst && *tag != NUL) {
use_tagstack = FALSE;
new_tag = TRUE;
if (g_do_tagpreview != 0) {
xfree(ptag_entry.tagname);
ptag_entry.tagname = vim_strsave(tag);
}
} else {
if (g_do_tagpreview != 0)
use_tagstack = FALSE;

View File

@@ -18,5 +18,6 @@ source test_statusline.vim
source test_syn_attr.vim
source test_tabline.vim
source test_tabpage.vim
source test_tagjump.vim
source test_unlet.vim
source test_matchadd_conceal_utf8.vim

View File

@@ -693,7 +693,7 @@ static int included_patches[] = {
1753,
// 1753,
// 1752,
// 1751,
1751,
// 1750 NA
// 1749 NA
1748,