diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-18 21:58:11 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-18 21:58:11 +0000 |
commit | ce0842a6ee214621ccf03693ab77a94851c09ab0 (patch) | |
tree | 1dd3965d94b6497335e9c7ca77c0e02a58003218 /src/os_amiga.c | |
parent | bbebc857507f24c82cd5bb2f80305b74390b4611 (diff) | |
download | vim-git-ce0842a6ee214621ccf03693ab77a94851c09ab0.tar.gz |
updated for version 7.0109v7.0109
Diffstat (limited to 'src/os_amiga.c')
-rw-r--r-- | src/os_amiga.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c index 8717825f3..2c2a770e0 100644 --- a/src/os_amiga.c +++ b/src/os_amiga.c @@ -626,7 +626,7 @@ mch_get_host_name(s, len) char_u *s; int len; { - STRNCPY(s, "Amiga", len); + vim_strncpy(s, "Amiga", len - 1); } /* @@ -690,7 +690,7 @@ mch_FullName(fname, buf, len, force) { if (i < len - 1 && (i == 0 || buf[i - 1] != ':')) buf[i++] = '/'; - STRNCPY(buf + i, fname, len - i); + vim_strncpy(buf + i, fname, len - i - 1); } } } |