diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-08-12 23:33:56 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-08-12 23:33:56 +0200 |
commit | f59d6ab0005113ec93325b747834a2c62a969dfd (patch) | |
tree | b9dcbba8b8659448ffe27d456cd3d3217f5c3e00 /src/frame.c | |
parent | fa30860b75614b715e99b2da187a71022fa01cfc (diff) |
Set sc_len in tree_to_slide()
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index 4c23efd..3e207cd 100644 --- a/src/frame.c +++ b/src/frame.c @@ -232,6 +232,7 @@ static int recursive_unpack(struct frame *fr, const char *sc, StyleSheet *ss) parse_options(sfr, b->options, ss); sfr->sc = remove_blocks(b->contents, "f"); + sfr->sc_len = strlen(sfr->sc)+1; if ( recursive_unpack(sfr, b->contents, ss) ) { sc_block_list_free(bl); return 1; |