summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2007-12-09 18:38:35 +0000
committervimboss <devnull@localhost>2007-12-09 18:38:35 +0000
commitc36fef2f657c34f55cb84bde6a3d5f03b74a67a9 (patch)
tree680e3344330a9f61f92f50f1311c5443cc547d3b
parented158a1e7b959a661e7863f66200be0ebea1caa4 (diff)
downloadvim-c36fef2f657c34f55cb84bde6a3d5f03b74a67a9.tar.gz
updated for version 7.1-174v7.1.174v7-1-174
-rw-r--r--src/ex_cmds.c2
-rw-r--r--src/ex_docmd.c2
-rw-r--r--src/version.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 39ba8b52..335b2bae 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);
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 140fdca3..15be17b6 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2660,7 +2660,7 @@ doend:
errormsg = IObuff;
}
STRCAT(errormsg, ": ");
- STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff));
+ STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff) - 1);
}
emsg(errormsg);
}
diff --git a/src/version.c b/src/version.c
index 3310ef21..b77a93ed 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 174,
+/**/
173,
/**/
172,