mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-20 19:57:12 +01:00
Fix an indentation issue causing the compiler to moan and do so for a good reason.
This commit is contained in:
parent
2cfb84ace2
commit
6b5579f236
3
external/Squirrel/sqapi.cpp
vendored
3
external/Squirrel/sqapi.cpp
vendored
@ -971,7 +971,8 @@ SQRESULT sq_setdelegate(HSQUIRRELVM v,SQInteger idx)
|
||||
switch(type) {
|
||||
case OT_TABLE:
|
||||
if(type(mt) == OT_TABLE) {
|
||||
if(!_table(self)->SetDelegate(_table(mt))) return sq_throwerror(v, _SC("delagate cycle")); v->Pop();}
|
||||
if(!_table(self)->SetDelegate(_table(mt))) return sq_throwerror(v, _SC("delagate cycle"));
|
||||
v->Pop(); }
|
||||
else if(type(mt)==OT_NULL) {
|
||||
_table(self)->SetDelegate(NULL); v->Pop(); }
|
||||
else return sq_aux_invalidtype(v,type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user