aboutsummaryrefslogtreecommitdiff
path: root/src/wrap.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-07-06 17:14:20 +0200
committerThomas White <taw@bitwiz.org.uk>2014-07-06 17:14:20 +0200
commitc04e68c97ab01b2196a0625bc5ab0df48b4b1124 (patch)
tree371d29cc13384fbed126337d4ba7f6cec7168fc5 /src/wrap.c
parent3152dcee896222539f2cc3373b7e199c9076b2fa (diff)
WIP
Diffstat (limited to 'src/wrap.c')
-rw-r--r--src/wrap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wrap.c b/src/wrap.c
index e684989..9406620 100644
--- a/src/wrap.c
+++ b/src/wrap.c
@@ -921,6 +921,12 @@ int wrap_contents(struct frame *fr)
l->boxes[0].width = 0;
/* FIXME: Get ascent and descent from font metrics for
* whichever font will be used in this box */
+ } else {
+ l->boxes[0].scblock = fr->scblocks;
+ l->boxes[0].offs_char = 0;
+ l->boxes[0].ascent = 10000;
+ l->boxes[0].height = 10000;
+ l->boxes[0].width = 0;
}
}