Terminate the strings of the various parts and advance the write pointer.

svn path=/trunk/; revision=21805
This commit is contained in:
Luis Ontanon 2007-05-16 17:35:07 +00:00
parent ae673b5b38
commit 2b9b4cdc14
1 changed files with 1 additions and 0 deletions

View File

@ -370,6 +370,7 @@ static void macro_update(void* mp, const gchar** error) {
if (c >= '0' && c <= '9') {
cnt++;
r++;
*(w++) = '\0';
arg_pos *= 10;
arg_pos += c - '0';
} else {