diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-07-24 21:58:40 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-07-24 22:00:39 +0200 |
commit | 48dfc26e9c88e00a4f59dbfa24f799bc27ba45c0 (patch) | |
tree | 8e2f005db3cbe7c1ba816997b05981c29cea6655 /src/sc_parse.c | |
parent | 31dde135de7ce4228aafc5f5e8595041eb08d9dc (diff) |
Update SC on resize
Diffstat (limited to 'src/sc_parse.c')
-rw-r--r-- | src/sc_parse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sc_parse.c b/src/sc_parse.c index 0696e15..a37775d 100644 --- a/src/sc_parse.c +++ b/src/sc_parse.c @@ -453,6 +453,13 @@ SCBlock *sc_parse(const char *sc) } +void sc_block_set_options(SCBlock *bl, char *opt) +{ + free(bl->options); + bl->options = opt; +} + + SCBlock *find_last_child(SCBlock *bl) { if ( bl == NULL ) return NULL; |