fix wrong strcpy usage (#4331, patch by Andreas Bierfert)

This commit is contained in:
Ludwig Nussel 2009-11-04 18:13:05 +00:00
parent 621f91783c
commit e8f5d5055d
2 changed files with 3 additions and 3 deletions

View file

@ -948,7 +948,7 @@ void PC_ConvertPath(char *path)
if ((*ptr == '\\' || *ptr == '/') &&
(*(ptr+1) == '\\' || *(ptr+1) == '/'))
{
strcpy(ptr, ptr+1);
memmove(ptr, ptr+1, strlen(ptr));
} //end if
else
{