Browse Source

Whoops, that should be one larger (#25).

tags/v0.2
Ben Kurtovic 11 years ago
parent
commit
496475c977
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mwparserfromhell/parser/tokenizer.c

+ 1
- 1
mwparserfromhell/parser/tokenizer.c View File

@@ -434,7 +434,7 @@ Tokenizer_parse_template_or_argument(Tokenizer* self)
if (Tokenizer_parse_template(self))
return -1;
if (BAD_ROUTE) {
char text[MAX_BRACES];
char text[MAX_BRACES + 1];
RESET_ROUTE();
for (i = 0; i < braces; i++) text[i] = *"{";
text[braces] = *"";


Loading…
Cancel
Save