From: Tobias Markus Date: Sun, 1 Mar 2015 20:34:46 +0000 (+0100) Subject: Fix syntax error reported by cppcheck X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=06bfaaa9b62fd3cefbdba8149f4a885951167705;p=supertux.git Fix syntax error reported by cppcheck --- diff --git a/src/scripting/squirrel_util.cpp b/src/scripting/squirrel_util.cpp index 46cb6c7bc..ffbbf2cb2 100644 --- 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