We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c41e42a commit 595529aCopy full SHA for 595529a
Source/RunActivity/Viewer3D/WebServices/TrainDrivingDisplay.cs
@@ -509,7 +509,7 @@ void AddSeparator() => AddLabel(new ListLabel
509
510
if (locomotiveStatus != null)
511
{
512
- foreach (string data in locomotiveStatus.Split('\n').Where((string d) => d.Length > 1))
+ foreach (string data in locomotiveStatus.Split('\n').Where((string d) => !string.IsNullOrWhiteSpace(d)))
513
514
string[] parts = data.Split(new string[] { " = " }, 2, StringSplitOptions.None);
515
string keyPart = parts[0];
0 commit comments