From d2c8b518b1e73ac7c5cd0fcf773bd572c3041fb7 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 5 Nov 2009 20:35:04 +0000 Subject: * Fix from ioq3-r1731 --- src/qcommon/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qcommon/parse.c b/src/qcommon/parse.c index 783de6eb..6f5608fe 100644 --- a/src/qcommon/parse.c +++ b/src/qcommon/parse.c @@ -1778,7 +1778,7 @@ static void Parse_ConvertPath(char *path) if ((*ptr == '\\' || *ptr == '/') && (*(ptr+1) == '\\' || *(ptr+1) == '/')) { - strcpy(ptr, ptr+1); + memmove(ptr, ptr+1, strlen(ptr)); } else { -- cgit