diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-07-06 17:14:20 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-07-06 17:14:20 +0200 |
commit | c04e68c97ab01b2196a0625bc5ab0df48b4b1124 (patch) | |
tree | 371d29cc13384fbed126337d4ba7f6cec7168fc5 /src/wrap.c | |
parent | 3152dcee896222539f2cc3373b7e199c9076b2fa (diff) |
WIP
Diffstat (limited to 'src/wrap.c')
-rw-r--r-- | src/wrap.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; } } |