diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-08-15 00:05:47 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-08-15 00:05:47 +0200 |
commit | 8a40e5da7ff1f8abf80555bf207c490a86c47548 (patch) | |
tree | 154ea72ad66af06a068105420746b36c13682aa0 /src/storycode.c | |
parent | afebf69e4dfd871cb1f618b9072c982dc0583e05 (diff) |
Fix label initialisation
Diffstat (limited to 'src/storycode.c')
-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 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, "{"); |