Skip to content

Commit

Permalink
small fix. should work with all libfolia versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ko van der Sloot authored and Ko van der Sloot committed Apr 8, 2019
1 parent 2a2ef7d commit da1aed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FrogAPI.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ folia::FoliaElement* FrogAPI::start_document( const string& id,
folia::KWargs args;
args["xml:id"] = doc->id() + ".text";
folia::Text *text = new folia::Text( args );
doc->setRoot( text );
doc->addText( text );
return text;
}

Expand Down

0 comments on commit da1aed1

Please sign in to comment.