X-Git-Url: https://git.danieliu.xyz/?p=smdp.git;a=blobdiff_plain;f=src%2Fmarkdown.c;h=dd1ea48d67d8e9f990eacec8430780fd6ed2ab5e;hp=05c77be8dab8a7d90dfa70294d87fdda5a7581de;hb=680d0478fc66d6d25b1f258be0114d6c915ec0a0;hpb=d8422e5afe7b7637f8412f3d27969a52d2a7f014 diff --git a/src/markdown.c b/src/markdown.c index 05c77be..dd1ea48 100644 --- a/src/markdown.c +++ b/src/markdown.c @@ -43,7 +43,7 @@ slide_t *new_slide() { slide_t *x = malloc(sizeof(slide_t)); x->line = NULL; x->prev = x->next = NULL; - x->lines = 0; + x->lines = x->stop = 0; return x; }