mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
gf_lexing.c (unlexText): properly nul-terminate result.
This commit is contained in:
@@ -246,6 +246,7 @@ static char *unlexText(char **arr)
|
||||
} else cap = 0;
|
||||
*(r++) = ' ';
|
||||
}
|
||||
*r = 0;
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user