summaryrefslogtreecommitdiff
path: root/src/ai/ai_info_dummy.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-10-04 17:10:57 +0000
committersmatz <smatz@openttd.org>2009-10-04 17:10:57 +0000
commit32cbe57178129d371752e29e857fa454a046f7c3 (patch)
treec1dd06f2f7e052ee5bbbe6e388d6546da67648a3 /src/ai/ai_info_dummy.cpp
parent1666f7a1a926eec76a5ae12d54debf4f13bca269 (diff)
downloadopenttd-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.cpp2
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. */