mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 17:42:29 +01:00
fix crash in server_list_save_saved_servers
This commit is contained in:
@@ -495,7 +495,7 @@ static void add_saved_server(char *address)
|
||||
int index = _numSavedServers - 1;
|
||||
_savedServers[index].address = _strdup(address);
|
||||
_savedServers[index].name = _strdup(address);
|
||||
_savedServers[index].description = NULL;
|
||||
_savedServers[index].description = _strdup("");
|
||||
}
|
||||
|
||||
static void remove_saved_server(int index)
|
||||
|
||||
Reference in New Issue
Block a user