Merge pull request #10476 from pchote/sound-device-labels

Truncate SoundDevice label at the UI level.
This commit is contained in:
RoosterDragon
2016-01-15 19:53:42 +00:00
2 changed files with 9 additions and 6 deletions

View File

@@ -37,10 +37,6 @@ namespace OpenRA
Engine = engine;
Device = device;
Label = label;
// Limit label to 32 characters
if (Label.Length > 32)
Label = "..." + Label.Substring(Label.Length - 32);
}
}