Skip to content
Snippets Groups Projects
Commit e86b0a10 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Strip trailing whitespace off end of values read from .tic files

Fix issue #785
parent 7c11e274
No related branches found
No related tags found
No related merge requests found
......@@ -541,7 +541,7 @@ function parse_ticfile(fname)
m = line.match(/^\s*([^\s]+)\s(.*)$/);
if (m !== null) {
key = m[1].toLowerCase();
val = m[2];
val = truncsp(m[2]);
if (key !== 'desc' && key !== 'ldesc')
key = key.replace(/^\s*/,'');
......
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