Browse Source

Always use protection

Bill Meltsner 14 years ago
parent
commit
cb6bde5ad7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/physics/box2d/wrap_Physics.h

+ 1 - 1
src/modules/physics/box2d/wrap_Physics.h

@@ -45,7 +45,7 @@
 #include "wrap_WheelJoint.h"
 #include "wrap_WheelJoint.h"
 #include "wrap_RopeJoint.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
 namespace love
 {
 {