diff --git a/code/qcommon/q_shared.c b/code/qcommon/q_shared.c index 5ce6bbf9..18b71d3d 100644 --- a/code/qcommon/q_shared.c +++ b/code/qcommon/q_shared.c @@ -1143,7 +1143,8 @@ void Info_RemoveKey( 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; }