diff options
author | rubidium <rubidium@openttd.org> | 2014-04-23 21:16:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-04-23 21:16:58 +0000 |
commit | a5274117bdc323aedc95dbecea6014a308b9a9a0 (patch) | |
tree | 65c485894dbc677cfbc5473f549312498435249b /src/script/script_scanner.hpp | |
parent | 5b82822c12e014771dceaf9d909e1c0f3653c5a9 (diff) | |
download | openttd-a5274117bdc323aedc95dbecea6014a308b9a9a0.tar.xz |
(svn r26487) -Codechange: use lastof instead of lengthof/sizeof for script names
Diffstat (limited to 'src/script/script_scanner.hpp')
-rw-r--r-- | src/script/script_scanner.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/script_scanner.hpp b/src/script/script_scanner.hpp index 792d36bae..5418dbd85 100644 --- a/src/script/script_scanner.hpp +++ b/src/script/script_scanner.hpp @@ -101,7 +101,7 @@ protected: /** * Get the script name how to store the script in memory. */ - virtual void GetScriptName(ScriptInfo *info, char *name, int len) = 0; + virtual void GetScriptName(ScriptInfo *info, char *name, const char *last) = 0; /** * Get the filename to scan for this type of script. |