fix a stupid use of strcpy()

strcpy() arguments may not overlap !
This commit is contained in:
/dev/humancontroller 2015-06-18 17:22:34 -05:00 committed by Jeff Kent
parent 5d7612ec84
commit c52e35bcd8

View file

@ -1256,7 +1256,7 @@ void Info_RemoveKey_Big( char *s, const char *key ) {
if (!strcmp (key, pkey) )
{
strcpy (start, s); // remove this part
memmove(start, s, strlen(s) + 1); // remove this part
return;
}