diff options
author | rubidium <rubidium@openttd.org> | 2016-06-27 17:52:30 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2016-06-27 17:52:30 +0000 |
commit | ac6312d33cfd1498894326dc2ecadaca8aed0ee4 (patch) | |
tree | ef0060ec93bd600d59a0226392c8fc8d98ebae08 | |
parent | 6fbc2863a833849422d18b3ab833c5234425ad3a (diff) | |
download | openttd-ac6312d33cfd1498894326dc2ecadaca8aed0ee4.tar.xz |
(svn r27605) -Fix: GCC 6 warning about misleading indentation
-rw-r--r-- | src/3rdparty/squirrel/squirrel/sqapi.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/squirrel/squirrel/sqapi.cpp b/src/3rdparty/squirrel/squirrel/sqapi.cpp index f02fee29f..0d769bf1f 100644 --- a/src/3rdparty/squirrel/squirrel/sqapi.cpp +++ b/src/3rdparty/squirrel/squirrel/sqapi.cpp @@ -798,7 +798,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, "delagate cycle"); v->Pop();} + if(!_table(self)->SetDelegate(_table(mt))) return sq_throwerror(v, "delagate cycle"); + v->Pop();} else if(type(mt)==OT_NULL) { _table(self)->SetDelegate(NULL); v->Pop(); } else return sq_aux_invalidtype(v,type); |