Mercurial > ~dholland > hg > tradcpp > index.cgi
changeset 144:7ab3d0c09cd8
fix very minor bug
author | David A. Holland |
---|---|
date | Sat, 13 Jul 2013 13:54:07 -0400 |
parents | ed45f2d8d3bc |
children | a403605d3166 |
files | macro.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/macro.c Sat Jul 13 12:47:20 2013 -0400 +++ b/macro.c Sat Jul 13 13:54:07 2013 -0400 @@ -536,7 +536,7 @@ wordstart = pos; pos += strspn(buf+pos, alnum); if (isparam(m, buf+wordstart, pos-wordstart, ¶m)) { - if (pos > blockstart) { + if (wordstart > blockstart) { ei = expansionitem_create_stringlen( buf + blockstart, wordstart - blockstart);