0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0047

This commit is contained in:
Bram Moolenaar
2005-02-02 23:11:38 +00:00
parent f583668da1
commit 758711c5dc
3 changed files with 157 additions and 102 deletions

View File

@@ -1286,6 +1286,8 @@ viminfo_error(errnum, message, line)
{
sprintf((char *)IObuff, _("%sviminfo: %s in line: "), errnum, message);
STRNCAT(IObuff, line, IOSIZE - STRLEN(IObuff));
if (IObuff[STRLEN(IObuff) - 1] == '\n')
IObuff[STRLEN(IObuff) - 1] = NUL;
emsg(IObuff);
if (++viminfo_errcnt >= 10)
{