0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.1-174

This commit is contained in:
Bram Moolenaar
2007-12-09 18:38:35 +00:00
parent a713933cd1
commit 6c964835b1
3 changed files with 4 additions and 2 deletions

View File

@@ -1650,7 +1650,7 @@ viminfo_error(errnum, message, line)
{ {
vim_snprintf((char *)IObuff, IOSIZE, _("%sviminfo: %s in line: "), vim_snprintf((char *)IObuff, IOSIZE, _("%sviminfo: %s in line: "),
errnum, message); errnum, message);
STRNCAT(IObuff, line, IOSIZE - STRLEN(IObuff)); STRNCAT(IObuff, line, IOSIZE - STRLEN(IObuff) - 1);
if (IObuff[STRLEN(IObuff) - 1] == '\n') if (IObuff[STRLEN(IObuff) - 1] == '\n')
IObuff[STRLEN(IObuff) - 1] = NUL; IObuff[STRLEN(IObuff) - 1] = NUL;
emsg(IObuff); emsg(IObuff);

View File

@@ -2660,7 +2660,7 @@ doend:
errormsg = IObuff; errormsg = IObuff;
} }
STRCAT(errormsg, ": "); STRCAT(errormsg, ": ");
STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff)); STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff) - 1);
} }
emsg(errormsg); emsg(errormsg);
} }

View File

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