From b4914b91d9dc5fb007fd0705ef1678fe9f71848c Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 24 Apr 2014 04:41:54 +0000 Subject: (svn r26493) -Codechange: use strecat to concatenate script settings instead of manually accounting for the amount of characters that has been written --- src/script/script_config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/script_config.hpp') 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. -- cgit v1.2.3-54-g00ecf