0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -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: "),
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);