# HG changeset patch # User David A. Holland # Date 1373738047 14400 # Node ID 7ab3d0c09cd8ba7d4a76cab9b60ad912937754c5 # Parent ed45f2d8d3bcce8ec7011687c8737aff8ce1a323 fix very minor bug diff -r ed45f2d8d3bc -r 7ab3d0c09cd8 macro.c --- 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);