Whoops, fix typo/thinko from commit dc258bac41

This commit is contained in:
Panu Matilainen 2010-09-27 16:22:38 +03:00
parent 46f32d25ce
commit 800a1daa23
1 changed files with 1 additions and 1 deletions

View File

@ -1242,7 +1242,7 @@ expandMacro(MacroBuf mb, const char *src)
size_t len = strlen(printbuf);
if (len > mb->nb)
len = mb->nb;
memcpy(mb->buf+tpos, printbuf, len);
memcpy(mb->buf+mb->tpos, printbuf, len);
mb->tpos += len;
mb->nb -= len;
}