(svn r26493) -Codechange: use strecat to concatenate script settings instead of manually accounting for the amount of characters that has been written

This commit is contained in:
rubidium
2014-04-24 04:41:54 +00:00
parent ae46990636
commit b4914b91d9
5 changed files with 16 additions and 16 deletions

View File

@@ -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.