updated for version 7.1-174

This commit is contained in:
vimboss
2007-12-09 18:38:35 +00:00
parent e1a13bb449
commit d2887e47c1
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1650,7 +1650,7 @@ viminfo_error(errnum, message, line)
{
vim_snprintf((char *)IObuff, IOSIZE, _("%sviminfo: %s in line: "),
errnum, message);
STRNCAT(IObuff, line, IOSIZE - STRLEN(IObuff));
STRNCAT(IObuff, line, IOSIZE - STRLEN(IObuff) - 1);
if (IObuff[STRLEN(IObuff) - 1] == '\n')
IObuff[STRLEN(IObuff) - 1] = NUL;
emsg(IObuff);
+1 -1
View File
@@ -2660,7 +2660,7 @@ doend:
errormsg = IObuff;
}
STRCAT(errormsg, ": ");
STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff));
STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff) - 1);
}
emsg(errormsg);
}
+2
View File
@@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
174,
/**/
173,
/**/