diff options
author | smatz <smatz@openttd.org> | 2009-10-04 17:10:57 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-10-04 17:10:57 +0000 |
commit | 32cbe57178129d371752e29e857fa454a046f7c3 (patch) | |
tree | c1dd06f2f7e052ee5bbbe6e388d6546da67648a3 /src/ai/ai_info_dummy.cpp | |
parent | 1666f7a1a926eec76a5ae12d54debf4f13bca269 (diff) | |
download | openttd-32cbe57178129d371752e29e857fa454a046f7c3.tar.xz |
(svn r17692) -Codechange: minor coding style fixes
Diffstat (limited to 'src/ai/ai_info_dummy.cpp')
-rw-r--r-- | src/ai/ai_info_dummy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_info_dummy.cpp b/src/ai/ai_info_dummy.cpp index c10adbc88..9036d2dfd 100644 --- a/src/ai/ai_info_dummy.cpp +++ b/src/ai/ai_info_dummy.cpp @@ -66,7 +66,7 @@ void AI_CreateAIDummy(HSQUIRRELVM vm) /* 2) We construct the AI's code. This is done by merging a header, body and footer */ char dummy_script[4096]; char *dp = dummy_script; - dp = strecpy(dp, "class DummyAI extends AIController {\n function Start() {\n", lastof(dummy_script)); + dp = strecpy(dp, "class DummyAI extends AIController {\n function Start()\n {\n", lastof(dummy_script)); /* As special trick we need to split the error message on newlines and * emit each newline as a separate error printing string. */ |