diff options
-rw-r--r-- | code/qcommon/q_shared.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/code/qcommon/q_shared.c b/code/qcommon/q_shared.c index 5ce6bbf..18b71d3 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; } |