commit | 758711c5dc0cbbcc8499214a3743f0d6b17fbe27 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Feb 02 23:11:38 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Feb 02 23:11:38 2005 +0000 |
tree | 65b70ff12ddee792b9a915670517e44e8ff310d0 | |
parent | f583668da17052a7b9ff4cc4fc248f295313d86f [diff] [blame] |
updated for version 7.0047
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 14f7580..224a126 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -1286,6 +1286,8 @@ { 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) {