aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-08-15 00:05:47 +0200
committerThomas White <taw@bitwiz.org.uk>2012-08-15 00:05:47 +0200
commit8a40e5da7ff1f8abf80555bf207c490a86c47548 (patch)
tree154ea72ad66af06a068105420746b36c13682aa0 /src
parentafebf69e4dfd871cb1f618b9072c982dc0583e05 (diff)
Fix label initialisation
Diffstat (limited to 'src')
-rw-r--r--src/storycode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storycode.c b/src/storycode.c
index 4edc39e..fc606d1 100644
--- a/src/storycode.c
+++ b/src/storycode.c
@@ -149,7 +149,7 @@ SCBlockList *sc_find_blocks(const char *sc, const char *blockname)
return NULL;
}
- strcat(label, "\\");
+ strcpy(label, "\\");
strcat(label, blockname);
strcat(label, "{");