Fix syntax error reported by cppcheck
[supertux.git] / src / scripting / squirrel_util.cpp
index 46cb6c7..ffbbf2c 100644 (file)
@@ -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