summaryrefslogtreecommitdiff
path: root/src/script/script_config.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-04-24 04:41:54 +0000
committerrubidium <rubidium@openttd.org>2014-04-24 04:41:54 +0000
commitb4914b91d9dc5fb007fd0705ef1678fe9f71848c (patch)
treef22cd9ac404f5c0e00eed492004cb5a41753328d /src/script/script_config.hpp
parentae46990636684052932d659cb23cd46bf016d824 (diff)
downloadopenttd-b4914b91d9dc5fb007fd0705ef1678fe9f71848c.tar.xz
(svn r26493) -Codechange: use strecat to concatenate script settings instead of manually accounting for the amount of characters that has been written
Diffstat (limited to 'src/script/script_config.hpp')
-rw-r--r--src/script/script_config.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_config.hpp b/src/script/script_config.hpp
index 0350f8ded..dfc675473 100644
--- a/src/script/script_config.hpp
+++ b/src/script/script_config.hpp
@@ -172,7 +172,7 @@ public:
* Convert the custom settings to a string that can be stored in the config
* file or savegames.
*/
- void SettingsToString(char *string, size_t size) const;
+ void SettingsToString(char *string, const char *last) const;
/**
* Search a textfile file next to this script.