diff options
author | Tim Angus <tim@ngus.net> | 2009-11-05 20:35:04 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:18 +0000 |
commit | d2c8b518b1e73ac7c5cd0fcf773bd572c3041fb7 (patch) | |
tree | bee8bef5f0e908bd249179415c965f6a602ee545 | |
parent | 32f7ef5e6adc944c35cc40448c5a5725727a5daf (diff) |
* Fix from ioq3-r1731
-rw-r--r-- | src/qcommon/parse.c | 2 |
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 { |