aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-08-17 22:46:44 +0200
committerThomas White <taw@bitwiz.org.uk>2013-08-17 22:46:44 +0200
commit23c3ed822517ec4bbab8048e07357f81b1df71fb (patch)
treee65232b31384151370f2f89645668b0cc4f7876f
parent741fbc30f9dc921e2946a5e0a50d4e0deef7d6d0 (diff)
Fix SC parsing bug
-rw-r--r--src/storycode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storycode.c b/src/storycode.c
index a96fd2d..b78f946 100644
--- a/src/storycode.c
+++ b/src/storycode.c
@@ -271,7 +271,7 @@ SCBlockList *sc_find_blocks(const char *sc, const char *blockname)
return NULL;
}
- i = 0; j = 0;
+ i = 0; j = 0; start = 0;
do {
if ( sc[i] == '\\' ) {