From a5274117bdc323aedc95dbecea6014a308b9a9a0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 23 Apr 2014 21:16:58 +0000 Subject: (svn r26487) -Codechange: use lastof instead of lengthof/sizeof for script names --- src/script/script_scanner.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/script_scanner.hpp') 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. -- cgit v1.2.3-54-g00ecf