added support for interupting slides line by line, #45, #75
[smdp.git] / src / markdown.c
index 05c77be..dd1ea48 100644 (file)
@@ -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;
 }