summaryrefslogtreecommitdiff
path: root/src/script/script_info_dummy.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-09-06 18:10:36 +0000
committerrubidium <rubidium@openttd.org>2014-09-06 18:10:36 +0000
commite63ca12ab815e0cd4d5cc7fd129cde04f7c4404a (patch)
treee4fdbec2bc1b60a37442d882cfe3df8f8d85a6e8 /src/script/script_info_dummy.cpp
parent33ab50556760a84d6754235e553c68ada2f35a63 (diff)
downloadopenttd-e63ca12ab815e0cd4d5cc7fd129cde04f7c4404a.tar.xz
(svn r26775) -Cleanup [Squirrel]: "resolve" several of the unicode wrapper defines
Diffstat (limited to 'src/script/script_info_dummy.cpp')
-rw-r--r--src/script/script_info_dummy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/script_info_dummy.cpp b/src/script/script_info_dummy.cpp
index 049e59342..15f417c58 100644
--- a/src/script/script_info_dummy.cpp
+++ b/src/script/script_info_dummy.cpp
@@ -46,7 +46,7 @@ void Script_CreateDummyInfo(HSQUIRRELVM vm, const char *type, const char *dir)
sq_pushroottable(vm);
/* Load and run the script */
- if (SQ_SUCCEEDED(sq_compilebuffer(vm, sq_dummy_script, scstrlen(sq_dummy_script), "dummy", SQTrue))) {
+ if (SQ_SUCCEEDED(sq_compilebuffer(vm, sq_dummy_script, strlen(sq_dummy_script), "dummy", SQTrue))) {
sq_push(vm, -2);
if (SQ_SUCCEEDED(sq_call(vm, 1, SQFalse, SQTrue))) {
sq_pop(vm, 1);
@@ -101,7 +101,7 @@ void Script_CreateDummy(HSQUIRRELVM vm, StringID string, const char *type)
/* And finally we load and run the script */
sq_pushroottable(vm);
- if (SQ_SUCCEEDED(sq_compilebuffer(vm, sq_dummy_script, scstrlen(sq_dummy_script), "dummy", SQTrue))) {
+ if (SQ_SUCCEEDED(sq_compilebuffer(vm, sq_dummy_script, strlen(sq_dummy_script), "dummy", SQTrue))) {
sq_push(vm, -2);
if (SQ_SUCCEEDED(sq_call(vm, 1, SQFalse, SQTrue))) {
sq_pop(vm, 1);