Some code cleaning...
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11505 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -1936,7 +1936,7 @@ struct script_code* parse_script(const char *src,const char *file,int line,int o
|
||||
if( setjmp( error_jump ) != 0 ) {
|
||||
//Restore program state when script has problems. [from jA]
|
||||
int i;
|
||||
const int size = sizeof(syntax.curly)/sizeof(syntax.curly[0]);
|
||||
const int size = ARRAYLENGTH(syntax.curly);
|
||||
if( error_report )
|
||||
script_error(src,file,line,error_msg,error_pos);
|
||||
aFree( error_msg );
|
||||
|
||||
Reference in New Issue
Block a user