Fix Info_RemoveKey not correctly removing the key

This commit is contained in:
smallmodel 2024-12-25 15:00:32 +01:00
parent 47d6843b70
commit 583c2720e2
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1853,9 +1853,8 @@ void Info_RemoveKey( char *s, const char *key ) {
if (!strcmp (key, pkey) )
{
//strcpy (start, s); // remove this part
// Fixed in OPM
memmove(start, s, strlen(s));
memmove(start, s, strlen(s) + 1); // remove this part
return;
}