0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

updated for version 7.4.390

Problem:    Advancing pointer over end of a string.
Solution:   Init quote character to -1 instead of zero. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar 2014-08-06 12:49:18 +02:00
parent 4e067c898e
commit ece29e8013
2 changed files with 3 additions and 1 deletions

View File

@ -5503,7 +5503,7 @@ cin_has_js_key(text)
char_u *text;
{
char_u *s = skipwhite(text);
int quote = 0;
int quote = -1;
if (*s == '\'' || *s == '"')
{

View File

@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
390,
/**/
389,
/**/