fixes #7855
This commit is contained in:
parent
dc809bd485
commit
a39b989ce2
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ proc parseLine(p: var TTmplParser) =
|
||||||
var j = 0
|
var j = 0
|
||||||
let hi = p.x.len - 1
|
let hi = p.x.len - 1
|
||||||
|
|
||||||
if hi == 0:
|
if hi < 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
while j <= hi and p.x[j] == ' ': inc(j)
|
while j <= hi and p.x[j] == ' ': inc(j)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue