From 7b302ea4b906b162c37c3370434165f6e83a9def Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 13 Sep 2014 09:54:11 +0200 Subject: Restore notes --- src/sc_parse.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/sc_parse.c') diff --git a/src/sc_parse.c b/src/sc_parse.c index 93a346e..0f8e893 100644 --- a/src/sc_parse.c +++ b/src/sc_parse.c @@ -514,6 +514,13 @@ void sc_block_set_options(SCBlock *bl, char *opt) } +void sc_block_set_contents(SCBlock *bl, char *con) +{ + free(bl->contents); + bl->contents = con; +} + + SCBlock *find_last_child(SCBlock *bl) { if ( bl == NULL ) return NULL; -- cgit v1.2.3