summaryrefslogtreecommitdiffstats
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-12-09 18:38:35 +0000
committerBram Moolenaar <Bram@vim.org>2007-12-09 18:38:35 +0000
commit6c964835b192d7031dfc87af962154760a5e8ec3 (patch)
tree680e3344330a9f61f92f50f1311c5443cc547d3b /src/ex_docmd.c
parenta713933cd116b396821e54dade8dd82770416832 (diff)
updated for version 7.1-174v7.1.174
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 140fdca3d4..15be17b6ef 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);
}