mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
fix failure is the printout is empty
This commit is contained in:
@@ -71,6 +71,10 @@ again: {
|
||||
|
||||
PgfText *PgfPrinter::get_text()
|
||||
{
|
||||
if (res == NULL) {
|
||||
res = (PgfText*) malloc(sizeof(PgfText));
|
||||
res->size = 0;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user