1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00

Duplicate string literal for assignment to utf8* var

This commit is contained in:
rwjuk
2017-06-26 20:58:36 +01:00
parent 3162b9c221
commit c904fa9fe2

View File

@@ -352,7 +352,7 @@ namespace Config
playerName = String::Duplicate(platform_get_username());
if (playerName == nullptr)
{
playerName = "Player";
playerName = String::Duplicate("Player");
}
}