fix a stupid use of strcpy()

strcpy() arguments may not overlap !
This commit is contained in:
/dev/humancontroller authored and Jeff Kent committed 2015-06-18 17:24:50 -05:00
1 parent 5d7612ec84
commit c52e35bcd8
1 file changed
+1 -1
+1 -1
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;
}