From 452a81b4138c18ffbec4cd53274f42b88fd9983d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 6 Aug 2007 20:28:43 +0000 Subject: updated for version 7.1-055 --- src/termlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/termlib.c') 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 */ -- cgit v1.2.1