(svn r26487) -Codechange: use lastof instead of lengthof/sizeof for script names

This commit is contained in:
rubidium
2014-04-23 21:16:58 +00:00
parent 5b82822c12
commit a5274117bd
6 changed files with 14 additions and 14 deletions

View File

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