aboutsummaryrefslogtreecommitdiff
path: root/src/shape.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shape.c')
-rw-r--r--src/shape.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shape.c b/src/shape.c
index 9d6a2ac..4ec870b 100644
--- a/src/shape.c
+++ b/src/shape.c
@@ -118,6 +118,7 @@ static void add_nothing_box(struct wrap_line *line, SCBlock *scblock,
box->offs_char = offs;
box->space = sp;
box->width = 0;
+ box->len_chars = 1;
box->ascent = sc_interp_get_ascent(scin);
box->height = sc_interp_get_height(scin);
box->filename = NULL;