diff options
-rw-r--r-- | src/storycode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storycode.c b/src/storycode.c index 27dbc43..a96fd2d 100644 --- a/src/storycode.c +++ b/src/storycode.c @@ -329,7 +329,7 @@ SCBlockList *sc_find_blocks(const char *sc, const char *blockname) } while ( i<len ); - if ( (blockname == NULL) && (j != 0) ) { + if ( (blockname == NULL) && (j > 1) ) { tbuf[j] = '\0'; if ( sc_block_list_add(bl, start, NULL, NULL, tbuf) ) { |