diff --git a/hmml_to_html/hmml_to_html.c b/hmml_to_html/hmml_to_html.c index f61e758..6abc505 100644 --- a/hmml_to_html/hmml_to_html.c +++ b/hmml_to_html/hmml_to_html.c @@ -116,7 +116,7 @@ main(int ArgC, char **Args) if(HMML.well_formed) { Working.Location = MemoryArena + ClaimedMemory; - Working.Size = 351; + Working.Size = 1024 * 2; ClaimedMemory += Working.Size; sprintf(Working.Location, @@ -140,23 +140,16 @@ main(int ArgC, char **Args) *Out.Ptr++ = *Working.Ptr++; } - Working.Location = '\0'; - ClaimedMemory -= Working.Size; - - Working.Location = MemoryArena + ClaimedMemory; - Working.Size = 1024; - ClaimedMemory += Working.Size; - int AnnotationIndex = 0; while(AnnotationIndex < HMML.annotation_count) { if(HMML.annotations[AnnotationIndex].reference_count) { sprintf(Working.Location, -"