aboutsummaryrefslogtreecommitdiff
path: root/src/shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shape.c')
-rw-r--r--src/shape.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shape.c b/src/shape.c
index 84f8f03..08ca8d1 100644
--- a/src/shape.c
+++ b/src/shape.c
@@ -114,6 +114,8 @@ static void add_nothing_box(struct wrap_line *line, SCBlock *scblock,
box->height = sc_interp_get_height(scin);
box->filename = NULL;
box->editable = editable;
+ box->segs = NULL;
+ box->n_segs = 0;
line->n_boxes++;
}