From c04e68c97ab01b2196a0625bc5ab0df48b4b1124 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sun, 6 Jul 2014 17:14:20 +0200 Subject: WIP --- src/wrap.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/wrap.c') 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; } } -- cgit v1.2.3