Ver código fonte

fixed typo, file indentation

Avelino 9 anos atrás
pai
commit
f3bb11ef99
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      squirrel/sqapi.cpp

+ 2 - 2
squirrel/sqapi.cpp

@@ -972,8 +972,8 @@ SQRESULT sq_setdelegate(HSQUIRRELVM v,SQInteger idx)
     case OT_TABLE:
         if(type(mt) == OT_TABLE) {
             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) {
             _table(self)->SetDelegate(NULL); v->Pop(); }
         else return sq_aux_invalidtype(v,type);