fixed typo, file indentation
This commit is contained in:
parent
36c308bf57
commit
f3bb11ef99
@ -972,8 +972,8 @@ SQRESULT sq_setdelegate(HSQUIRRELVM v,SQInteger idx)
|
|||||||
case OT_TABLE:
|
case OT_TABLE:
|
||||||
if(type(mt) == OT_TABLE) {
|
if(type(mt) == OT_TABLE) {
|
||||||
if(!_table(self)->SetDelegate(_table(mt))) {
|
if(!_table(self)->SetDelegate(_table(mt))) {
|
||||||
return sq_throwerror(v, _SC("delagate cycle")); v->Pop();}
|
return sq_throwerror(v, _SC("delagate cycle")); v->Pop();}
|
||||||
}
|
}
|
||||||
else if(type(mt)==OT_NULL) {
|
else if(type(mt)==OT_NULL) {
|
||||||
_table(self)->SetDelegate(NULL); v->Pop(); }
|
_table(self)->SetDelegate(NULL); v->Pop(); }
|
||||||
else return sq_aux_invalidtype(v,type);
|
else return sq_aux_invalidtype(v,type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user