diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-08-30 23:35:43 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-08-30 23:35:43 +0200 |
commit | 29978f93c0dba6a6a2b164168650620589667fa3 (patch) | |
tree | da606510fdee26062c24e6f5c9a9473311d23a57 /tests | |
parent | e0c198aa0745472082b77f1037e44a5250ac79e5 (diff) |
Add space in API for options and varying block names in an SCBlockList
Diffstat (limited to 'tests')
-rw-r--r-- | tests/storycode_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/storycode_test.c b/tests/storycode_test.c index 4ffc08c..a39fa72 100644 --- a/tests/storycode_test.c +++ b/tests/storycode_test.c @@ -34,7 +34,7 @@ int main(int argc, char *argv[]) { SCBlockList *bl; SCBlockListIterator *iter; - char *b; + struct scblock *b; bl = sc_find_blocks("\\bg{wibble \\f{wobble}}\\bg{rwawr}Wobble", "bg"); @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) b != NULL; b = sc_block_list_next(bl, iter) ) { - printf("'%s'\n", b); + printf("'%s'\n", b->contents); } sc_block_list_free(bl); |