aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-08-16 22:48:59 +0200
committerThomas White <taw@bitwiz.org.uk>2015-08-16 22:48:59 +0200
commit59f590412d1b63d67a41adfee27a820ee85de390 (patch)
treeac2879ebf5ea7aa3cfca1b31d620c482c5d790ce /src
parentfa25a674476f748f8fe498080b3163601a9912c3 (diff)
Nothing boxes should have zero length
Diffstat (limited to 'src')
-rw-r--r--src/shape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shape.c b/src/shape.c
index 9320acd..31d02ed 100644
--- a/src/shape.c
+++ b/src/shape.c
@@ -118,7 +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->len_chars = 0;
box->ascent = sc_interp_get_ascent(scin);
box->height = sc_interp_get_height(scin);
box->filename = NULL;