Skip to content
Snippets Groups Projects
Commit ccfc963e authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

Ignore malformed I:lines

parent 36f340ec
No related branches found
No related tags found
No related merge requests found
Pipeline #6237 failed
......@@ -354,10 +354,9 @@ function read_conf_config(conf) {
HLines.push(new HLine(arg[1],arg[3]));
break;
case "I":
if (!arg[5])
if (!arg[5] || !parseInt(arg[5]))
break;
ILines.push(new ILine(arg[1],arg[2],arg[3],arg[4],
arg[5]));
ILines.push(new ILine(arg[1],arg[2],arg[3],arg[4],parseInt(arg[5])));
break;
case "K":
if (!arg[2])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment