- another 'variadic argument' error due to MSVC letting it slip through.

This commit is contained in:
Christoph Oelckers 2018-02-26 10:57:35 +01:00
parent f405d630df
commit 64354df3c6

View file

@ -1404,7 +1404,7 @@ static void InitMusicMenus()
{
FString display = entry.mName;
display.ReplaceChars("_", ' ');
auto it = CreateOptionMenuItemCommand(display, FStringf("%s %s", std::get<2>(p), entry.mName), true);
auto it = CreateOptionMenuItemCommand(display, FStringf("%s %s", std::get<2>(p), entry.mName.GetChars()), true);
static_cast<DOptionMenuDescriptor*>(*menu)->mItems.Push(it);
}
}