diff src/termlib.c @ 1341:2ae2dd2591fa v7.1.055

updated for version 7.1-055
author vimboss
date Mon, 06 Aug 2007 20:28:43 +0000
parents a91a2e0c4108
children 82b5078be2dd
line wrap: on
line diff
--- a/src/termlib.c
+++ b/src/termlib.c
@@ -191,7 +191,7 @@ nextent(tbuf, termcap, buflen)		/* Read 
 	    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 */