mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-20 19:12:07 +00:00
Fixed selection of soundfont with spaces in its name
This commit is contained in:
parent
774a7773a4
commit
4b7e57b007
1 changed files with 1 additions and 1 deletions
|
@ -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.GetChars()), true);
|
||||
auto it = CreateOptionMenuItemCommand(display, FStringf("%s \"%s\"", std::get<2>(p), entry.mName.GetChars()), true);
|
||||
static_cast<DOptionMenuDescriptor*>(*menu)->mItems.Push(it);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue