X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=markdown.c;h=90219e5482ed971e4182ddab7106d3761f1d3170;hb=c29cfeaa5c6ab5c7e0c39415fe3c9c103c8bdf64;hp=e578fa9b7e223a892ba46836d7d622740980cf21;hpb=882cc804087501c46d5bd96994d17214e0cad198;p=smdp.git diff --git a/markdown.c b/markdown.c index e578fa9..90219e5 100644 --- a/markdown.c +++ b/markdown.c @@ -35,7 +35,7 @@ page_t *next_page(page_t *prev) { document_t *new_document() { document_t *x = malloc(sizeof(document_t)); - x->title = x->author = x->date = (void*)0; + x->header = (void*)0; x->page = (void*)0; return x; }