summaryrefslogtreecommitdiff
path: root/src/script/script_info_dummy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/script_info_dummy.cpp')
-rw-r--r--src/script/script_info_dummy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_info_dummy.cpp b/src/script/script_info_dummy.cpp
index e11c63151..53860386c 100644
--- a/src/script/script_info_dummy.cpp
+++ b/src/script/script_info_dummy.cpp
@@ -92,7 +92,7 @@ void Script_CreateDummy(HSQUIRRELVM vm, StringID string, const char *type)
p = newline + 1;
} while (newline != NULL);
- dp = strecpy(dp, " }\n}\n", lastof(dummy_script));
+ strecpy(dp, " }\n}\n", lastof(dummy_script));
/* 3) We translate the error message in the character format that Squirrel wants.
* We can use the fact that the wchar string printing also uses %s to print