diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-08-06 20:28:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-08-06 20:28:43 +0000 |
commit | 452a81b4138c18ffbec4cd53274f42b88fd9983d (patch) | |
tree | df4982be8b6463081ae40810c4d1d2f1dc3996d9 /src/termlib.c | |
parent | a064ac85018ac1f91b70d6941bbda3f981195c83 (diff) | |
download | vim-git-452a81b4138c18ffbec4cd53274f42b88fd9983d.tar.gz |
updated for version 7.1-055v7.1.055
Diffstat (limited to 'src/termlib.c')
-rw-r--r-- | src/termlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/termlib.c b/src/termlib.c index 2091115d7..33f332a54 100644 --- a/src/termlib.c +++ b/src/termlib.c @@ -191,7 +191,7 @@ nextent(tbuf, termcap, buflen) /* Read 1 entry from TERMCAP file */ lbuf[0] == '\t' && lbuf[1] == ':') { - strcpy(lbuf, lbuf+2); + mch_memmove(lbuf, lbuf + 2, strlen(lbuf + 2) + 1); llen -= 2; } if (lbuf[llen-2] == '\\') /* and continuations */ |