summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2016-06-27 17:52:30 +0000
committerrubidium <rubidium@openttd.org>2016-06-27 17:52:30 +0000
commitac6312d33cfd1498894326dc2ecadaca8aed0ee4 (patch)
treeef0060ec93bd600d59a0226392c8fc8d98ebae08
parent6fbc2863a833849422d18b3ab833c5234425ad3a (diff)
downloadopenttd-ac6312d33cfd1498894326dc2ecadaca8aed0ee4.tar.xz
(svn r27605) -Fix: GCC 6 warning about misleading indentation
-rw-r--r--src/3rdparty/squirrel/squirrel/sqapi.cpp3
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);