Skip to content

Commit

Permalink
Fix crash by recent docs layout change
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Aug 31, 2018
1 parent baec4d4 commit 9eac886
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Vs2017-LIGUI/DocProcesser.cs
Expand Up @@ -125,9 +125,13 @@ public void Process(string doc, List<Workload> Workloads)
}

// begin fetching components
while (lines[i].Substring(0, 3) != "## ")
while (i < lines.Length && lines[i].Substring(0, 3) != "## ")
{
var line3rd = lines[i++].Split('|');

if (line3rd.Length < 3)
continue; // NOT-A-TABLE line :/

var component = new Component()
{
ID = line3rd[0].Trim(),
Expand Down

0 comments on commit 9eac886

Please sign in to comment.