diff options
-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 { |