Audio device names is now shown correcly in the Audio Device combolist.
This commit is contained in:
committed by
abcdefg30
parent
8f26b4e92b
commit
5435e34b9a
@@ -81,7 +81,7 @@ namespace OpenRA.Platforms.Default
|
||||
}
|
||||
|
||||
// A null indicates termination of that string, so add that to our list.
|
||||
devices.Add(Encoding.Default.GetString(buffer.ToArray()));
|
||||
devices.Add(Encoding.UTF8.GetString(buffer.ToArray()));
|
||||
buffer.Clear();
|
||||
|
||||
// Two successive nulls indicates the end of the list.
|
||||
|
||||
Reference in New Issue
Block a user