Commits

Bill Meltsner committed 7ba2ce9

Always use protection

Comments (0)

Files changed (1)

src/modules/physics/box2d/wrap_Physics.h

 #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
 {