aboutsummaryrefslogtreecommitdiff
path: root/src/storycode.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-10-08 21:09:16 +0200
committerThomas White <taw@bitwiz.org.uk>2012-10-08 21:09:16 +0200
commit43f4a4df59d960442df2faedfd50e5c7c7a55d99 (patch)
tree2ee01715b93ae567a01854485299ac33c6878131 /src/storycode.c
parentd52c17c36ada874e6a0702808577a603331af095 (diff)
Create PangoLayout when laying out the frame
Because it's necessary to know how much space the contents take up
Diffstat (limited to 'src/storycode.c')
-rw-r--r--src/storycode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/storycode.c b/src/storycode.c
index 42e6db9..3432090 100644
--- a/src/storycode.c
+++ b/src/storycode.c
@@ -421,6 +421,8 @@ static struct frame *frame_new()
n->num_ro = 1;
n->rendering_order[0] = n;
+ n->pl = NULL;
+
return n;
}