summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2014-11-29 18:37:48 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2014-11-29 21:49:14 +0100
commitdecf525cf60f8db8ffe1ee525a328b488d16f35b (patch)
tree554bc133ab6687a50805eff6d7f3b963e3a9f202 /src/inlines.c
parentd8226ea031f61572f397af0735ec32c6ab0a231a (diff)
Fix prev pointer of emph->first_child
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inlines.c b/src/inlines.c
index e08b757..5a8024d 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -431,6 +431,7 @@ static void process_emphasis(subject *subj, delimiter_stack *stack_bottom)
// fix tree structure
tmp = emph->first_child;
+ tmp->prev = NULL;
while (tmp->next != NULL && tmp->next != closer->first_inline) {
tmp->parent = emph;
tmp = tmp->next;