Skip to content
Snippets Groups Projects
Commit 18924b62 authored by rswindell's avatar rswindell
Browse files

Attempt to address Bill Chaney's reported error: truncate white-space from the

end of newslink.cfg lines before checking for (and skipping/ignoring) blank
lines.
parent aad9f0d9
No related branches found
No related tags found
No related merge requests found
......@@ -177,10 +177,9 @@ if(!cfg_file.open("r")) {
}
while(!cfg_file.eof) {
line = cfg_file.readln();
line = truncsp(cfg_file.readln());
if(line==null || line[0] == ';' || !line.length || line==undefined)
continue;
line = truncsp(line);
str=line.split(/\s+/);
switch(str[0].toLowerCase()) {
case "disabled":
......
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