aboutsummaryrefslogtreecommitdiff
path: root/src/wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrap.c')
-rw-r--r--src/wrap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wrap.c b/src/wrap.c
index ae64f43..9a8c58b 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -558,6 +558,9 @@ static void copy_top_font(struct sc_font_stack *stack)
stack->stack[stack->n_fonts] = stack->stack[stack->n_fonts-1];
}
+ /* This is a copy, so don't free it later */
+ stack->stack[stack->n_fonts].free_font_on_pop = 0;
+
stack->n_fonts++;
}