summaryrefslogtreecommitdiff
path: root/src/version.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-18 21:58:11 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-18 21:58:11 +0000
commitce0842a6ee214621ccf03693ab77a94851c09ab0 (patch)
tree1dd3965d94b6497335e9c7ca77c0e02a58003218 /src/version.c
parentbbebc857507f24c82cd5bb2f80305b74390b4611 (diff)
downloadvim-git-ce0842a6ee214621ccf03693ab77a94851c09ab0.tar.gz
updated for version 7.0109v7.0109
Diffstat (limited to 'src/version.c')
-rw-r--r--src/version.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/version.c b/src/version.c
index e52839c8b..165ead098 100644
--- a/src/version.c
+++ b/src/version.c
@@ -1159,11 +1159,9 @@ do_intro_line(row, mesg, add_version, attr)
if (*mesg == ' ')
{
- STRNCPY(modby, _("Modified by "), MODBY_LEN);
- modby[MODBY_LEN - 1] = NUL;
+ vim_strncpy(modby, _("Modified by "), MODBY_LEN - 1);
l = STRLEN(modby);
- STRNCPY(modby + l, MODIFIED_BY, MODBY_LEN - l);
- modby[MODBY_LEN - 1] = NUL;
+ vim_strncpy(modby + l, MODIFIED_BY, MODBY_LEN - l - 1);
mesg = modby;
}
#endif