This commit is contained in:
data-man
2018-05-21 23:41:32 +03:00
parent dc809bd485
commit a39b989ce2

View File

@@ -65,7 +65,7 @@ proc parseLine(p: var TTmplParser) =
var j = 0
let hi = p.x.len - 1
if hi == 0:
if hi < 0:
return
while j <= hi and p.x[j] == ' ': inc(j)