Truncate SoundDevice label at the UI level.

This commit is contained in:
Paul Chote
2016-01-10 23:28:52 +00:00
parent 652f38ff66
commit 8731d78594
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);
}
}