1
0
forked from aniani/vim

updated for version 7.2-180

This commit is contained in:
Bram Moolenaar
2009-05-17 11:33:22 +00:00
parent bf0c4526bf
commit 2c4278fc73
20 changed files with 528 additions and 569 deletions

View File

@@ -100,7 +100,7 @@ static char_u *tagmatchname = NULL; /* name of last used tag */
* Tag for preview window is remembered separately, to avoid messing up the
* normal tagstack.
*/
static taggy_T ptag_entry = {NULL};
static taggy_T ptag_entry = {NULL, {INIT_POS_T(0, 0, 0), 0}, 0, 0};
#endif
/*
@@ -3791,7 +3791,7 @@ add_tag_field(dict, field_name, start, end)
--end;
}
len = (int)(end - start);
if (len > sizeof(buf) - 1)
if (len > (int)sizeof(buf) - 1)
len = sizeof(buf) - 1;
vim_strncpy(buf, start, len);
}