Skip to content

Commit d9fc5d4

Browse files
authored
Merge pull request #850 from twpol/feature/systeminfo-output
Correct output of sound system info
2 parents fd4c2b0 + 1605667 commit d9fc5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/ORTS.Common/SystemInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static void WriteEnvironment(TextWriter output)
9797
{
9898
foreach (ManagementObject sound in new ManagementClass("Win32_SoundDevice").GetInstances())
9999
{
100-
Console.WriteLine("Sound = {0}{1}", (string)sound["Description"], GetPnPDeviceDrivers(sound));
100+
output.WriteLine("Sound = {0}{1}", (string)sound["Description"], GetPnPDeviceDrivers(sound));
101101
}
102102
}
103103
catch (Exception error)

0 commit comments

Comments
 (0)