Duplicate string literal for assignment to utf8* var

This commit is contained in:
rwjuk committed 2017-06-26 20:58:36 +01:00
1 parent 3162b9c221
commit c904fa9fe2
1 file changed
+1 -1
+1 -1
View File
@@ -352,7 +352,7 @@ namespace Config
playerName = String::Duplicate(platform_get_username());
if (playerName == nullptr)
{
playerName = "Player";
playerName = String::Duplicate("Player");
}
}