summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-11-05 20:35:04 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:18 +0000
commitd2c8b518b1e73ac7c5cd0fcf773bd572c3041fb7 (patch)
treebee8bef5f0e908bd249179415c965f6a602ee545 /src
parent32f7ef5e6adc944c35cc40448c5a5725727a5daf (diff)
* Fix from ioq3-r1731
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/parse.c2
1 files changed, 1 insertions, 1 deletions
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
{