Commits

vrld  committed f00f0c1

Add format guard

  • Participants
  • Parent commits eb360c7

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/wrap_Graphics.cpp

 			lua_pushstring(L, e.what());
 			lua_pcall(L, 1,1, 0);
 			const char* err = lua_tostring(L, -1);
-			return luaL_error(L, err);
+			return luaL_error(L, "%s", err);
 		}
 
 		return 1;