diff options
author | rubidium <rubidium@openttd.org> | 2014-04-24 19:51:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-04-24 19:51:45 +0000 |
commit | e61fe2123728dd4cd2eba3ed628905b337ddff19 (patch) | |
tree | aedd5865dbb78dc700d89d3f9478c73d90bcaf60 /src/script | |
parent | fad2d3c709a6d468024284d9e6b7830f7c62e917 (diff) | |
download | openttd-e61fe2123728dd4cd2eba3ed628905b337ddff19.tar.xz |
(svn r26506) -Codechange: replace most of vsnprintf with vseprintf
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/squirrel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/squirrel.cpp b/src/script/squirrel.cpp index 9ead866e7..99e5ae1c0 100644 --- a/src/script/squirrel.cpp +++ b/src/script/squirrel.cpp @@ -21,9 +21,10 @@ /* Due to the different characters for Squirrel, the scsnprintf might be a simple * snprint which triggers the safeguard. But it isn't always a simple snprintf. - * Likewise for scstrcat. */ + * Likewise for scvsnprintf and scstrcat. */ #include "../safeguards.h" #undef snprintf +#undef vsnprintf #undef strcat void Squirrel::CompileError(HSQUIRRELVM vm, const SQChar *desc, const SQChar *source, SQInteger line, SQInteger column) |