From cb6bde5ad78e9d3d0d18926c0f153da85fa535e8 Mon Sep 17 00:00:00 2001 From: Bill Meltsner Date: Wed, 12 Oct 2011 14:42:51 -0500 Subject: [PATCH] Always use protection --- src/modules/physics/box2d/wrap_Physics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/physics/box2d/wrap_Physics.h b/src/modules/physics/box2d/wrap_Physics.h index db1a27038..3574aac5d 100644 --- a/src/modules/physics/box2d/wrap_Physics.h +++ b/src/modules/physics/box2d/wrap_Physics.h @@ -45,7 +45,7 @@ #include "wrap_WheelJoint.h" #include "wrap_RopeJoint.h" -#define ASSERT_GUARD(A) try { A } catch (love::Exception & e) { return luaL_error(L, e.what()); } +#define ASSERT_GUARD(A) try { A } catch (love::Exception & e) { return luaL_error(L, "%s", e.what()); } namespace love {