diff options
Diffstat (limited to 'common/main.c')
-rw-r--r-- | common/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c index d8c0054954..09ee64b813 100644 --- a/common/main.c +++ b/common/main.c @@ -1191,6 +1191,8 @@ static void process_macros (const char *input, char *output) if (outputcnt) *output = 0; + else + *(output - 1) = 0; #ifdef DEBUG_PARSER printf ("[PROCESS_MACROS] OUTPUT len %d: \"%s\"\n", |