diff options
author | chai <chaifix@163.com> | 2018-08-12 19:52:54 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-08-12 19:52:54 +0800 |
commit | 7b34bd98bb00796febd5351b9d2e75fd2c247432 (patch) | |
tree | dd2da6fa01094f864d8deb358d7f9a8fe1b32b1c /src/lua/graphics/luaopen_Font.cpp | |
parent | 5fe41eca99adf4bf0fb5832033a96f98b530d4f1 (diff) |
*update
Diffstat (limited to 'src/lua/graphics/luaopen_Font.cpp')
-rw-r--r-- | src/lua/graphics/luaopen_Font.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |