summaryrefslogtreecommitdiff
path: root/src/script/squirrel_std.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-04-24 17:40:43 +0000
committerrubidium <rubidium@openttd.org>2014-04-24 17:40:43 +0000
commit24fdd0b7bb543ba90f48c5cea35f2a36c16a33a5 (patch)
tree794c9ab88ee810c51b4fb8b5067dd515a66ff4a0 /src/script/squirrel_std.cpp
parentb4914b91d9dc5fb007fd0705ef1678fe9f71848c (diff)
downloadopenttd-24fdd0b7bb543ba90f48c5cea35f2a36c16a33a5.tar.xz
(svn r26494) -Codechange: replace some further usages of s(n)printf with seprintf
Diffstat (limited to 'src/script/squirrel_std.cpp')
-rw-r--r--src/script/squirrel_std.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/squirrel_std.cpp b/src/script/squirrel_std.cpp
index a6f19a5dd..f09471554 100644
--- a/src/script/squirrel_std.cpp
+++ b/src/script/squirrel_std.cpp
@@ -17,7 +17,10 @@
#include "../core/alloc_func.hpp"
#include "../core/math_func.hpp"
+/* Due to the different characters for Squirrel, the scstrcat might be a simple
+ * strcat which triggers the safeguard. But it isn't always a simple strcat. */
#include "../safeguards.h"
+#undef strcat
SQInteger SquirrelStd::min(HSQUIRRELVM vm)