diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-12-09 18:38:35 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-12-09 18:38:35 +0000 |
commit | 6c964835b192d7031dfc87af962154760a5e8ec3 (patch) | |
tree | 680e3344330a9f61f92f50f1311c5443cc547d3b /src/ex_cmds.c | |
parent | a713933cd116b396821e54dade8dd82770416832 (diff) | |
download | vim-git-6c964835b192d7031dfc87af962154760a5e8ec3.tar.gz |
updated for version 7.1-174v7.1.174
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 39ba8b528..335b2bae7 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -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); |