Tue, 22 Sep 2015 12:04:57 +0200
stanzacmp: Check the correct side of the comparsion for whitespace
scansion/stanzacmp.lua | file | annotate | diff | comparison | revisions |
--- a/scansion/stanzacmp.lua Sat Sep 19 21:57:48 2015 +0100 +++ b/scansion/stanzacmp.lua Tue Sep 22 12:04:57 2015 +0200 @@ -37,7 +37,7 @@ if type(child) == "table" or child:match("%S") then local match; local child2 = stanza2[stanza2_pos]; - while child2 and not(type(child2) == "table" or child:match("%S")) do + while child2 and not(type(child2) == "table" or child2:match("%S")) do stanza2_pos = stanza2_pos + 1; child2 = stanza2[stanza2_pos]; end