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

Ignore malformed I:lines

parent d3909a32
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2552 passed
...@@ -354,10 +354,9 @@ function read_conf_config(conf) { ...@@ -354,10 +354,9 @@ function read_conf_config(conf) {
HLines.push(new HLine(arg[1],arg[3])); HLines.push(new HLine(arg[1],arg[3]));
break; break;
case "I": case "I":
if (!arg[5]) if (!arg[5] || !parseInt(arg[5]))
break; break;
ILines.push(new ILine(arg[1],arg[2],arg[3],arg[4], ILines.push(new ILine(arg[1],arg[2],arg[3],arg[4],parseInt(arg[5])));
arg[5]));
break; break;
case "K": case "K":
if (!arg[2]) if (!arg[2])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment