summaryrefslogtreecommitdiff
path: root/src/3rdparty/squirrel
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-01-16 20:51:35 +0000
committerfrosch <frosch@openttd.org>2010-01-16 20:51:35 +0000
commitc07c7a3818ed77649825ecfde3fe8ca7dc68c2ac (patch)
tree3cecabeebc78ffadc360aadd22efc6be54ae2f87 /src/3rdparty/squirrel
parent251ffaa000b66821ba3133db154336ab847f57b9 (diff)
downloadopenttd-c07c7a3818ed77649825ecfde3fe8ca7dc68c2ac.tar.xz
(svn r18832) -Fix: some indentation whitespace.
Diffstat (limited to 'src/3rdparty/squirrel')
-rw-r--r--src/3rdparty/squirrel/squirrel/sqobject.cpp2
-rw-r--r--src/3rdparty/squirrel/squirrel/sqvm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/squirrel/squirrel/sqobject.cpp b/src/3rdparty/squirrel/squirrel/sqobject.cpp
index 0455eb7e3..c19e71fa9 100644
--- a/src/3rdparty/squirrel/squirrel/sqobject.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqobject.cpp
@@ -201,7 +201,7 @@ const SQChar* SQFunctionProto::GetLocal(SQVM *vm,SQUnsignedInteger stackbase,SQU
SQUnsignedInteger nvars=_nlocalvarinfos;
const SQChar *res=NULL;
if(nvars>=nseq){
- for(SQUnsignedInteger i=0;i<nvars;i++){
+ for(SQUnsignedInteger i=0;i<nvars;i++){
if(_localvarinfos[i]._start_op<=nop && _localvarinfos[i]._end_op>=nop)
{
if(nseq==0){
diff --git a/src/3rdparty/squirrel/squirrel/sqvm.cpp b/src/3rdparty/squirrel/squirrel/sqvm.cpp
index 689ced38c..5a2afe2a1 100644
--- a/src/3rdparty/squirrel/squirrel/sqvm.cpp
+++ b/src/3rdparty/squirrel/squirrel/sqvm.cpp
@@ -436,7 +436,7 @@ bool SQVM::LOCAL_INC(SQInteger op,SQObjectPtr &target, SQObjectPtr &a, SQObjectP
bool SQVM::PLOCAL_INC(SQInteger op,SQObjectPtr &target, SQObjectPtr &a, SQObjectPtr &incr)
{
- SQObjectPtr trg;
+ SQObjectPtr trg;
_RET_ON_FAIL(ARITH_OP( op , trg, a, incr));
target = a;
a = trg;