From 7b34bd98bb00796febd5351b9d2e75fd2c247432 Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 12 Aug 2018 19:52:54 +0800 Subject: *update --- src/lua/graphics/luaopen_Font.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua/graphics/luaopen_Font.cpp') diff --git a/src/lua/graphics/luaopen_Font.cpp b/src/lua/graphics/luaopen_Font.cpp index c0d4708..3de2981 100644 --- a/src/lua/graphics/luaopen_Font.cpp +++ b/src/lua/graphics/luaopen_Font.cpp @@ -16,7 +16,7 @@ namespace lua static int l_box(lua_State* L) { - Font* font = (Font*)luax_checktype(L, 1, TYPE_FONT); + Font* font = (Font*)luax_checktype(L, 1, JIN_GRAPHICS_FONT); const char* text = luax_checkstring(L, 2); int fheight = luax_checknumber(L, 3); int spacing = luax_checknumber(L, 4); @@ -36,7 +36,7 @@ namespace lua int luaopen_Font(lua_State* L) { - luax_newtype(L, TYPE_FONT, f); + luax_newtype(L, JIN_GRAPHICS_FONT, f); return 0; } -- cgit v1.1-26-g67d0