projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3edad22
)
Fix syntax error reported by cppcheck
author
Tobias Markus
<tobbi.bugs@googlemail.com>
Sun, 1 Mar 2015 20:34:46 +0000
(21:34 +0100)
committer
Tobias Markus
<tobbi.bugs@googlemail.com>
Sun, 1 Mar 2015 20:34:46 +0000
(21:34 +0100)
src/scripting/squirrel_util.cpp
patch
|
blob
|
history
diff --git
a/src/scripting/squirrel_util.cpp
b/src/scripting/squirrel_util.cpp
index
46cb6c7
..
ffbbf2c
100644
(file)
--- a/
src/scripting/squirrel_util.cpp
+++ b/
src/scripting/squirrel_util.cpp
@@
-37,7
+37,7
@@
std::string squirrel2string(HSQUIRRELVM v, SQInteger i)
break;
case OT_BOOL: {
SQBool p;
- if
SQ_SUCCEEDED(sq_getbool(v, i, &p
)) {
+ if
(SQ_SUCCEEDED(sq_getbool(v, i, &p)
)) {
if (p)
os << "true";
else