aboutsummaryrefslogtreecommitdiff
path: root/src/lua/graphics/luaopen_Font.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-17 00:15:05 +0800
committerchai <chaifix@163.com>2018-08-17 00:15:05 +0800
commit952748a86c4ddf1d7e47b358a64904c35bacd4aa (patch)
tree2b65d1021a5b62beac5ac6b229b43856eaec29e9 /src/lua/graphics/luaopen_Font.cpp
parent7f7f6b3f19703eaeaad3801e47749e0173faa2fc (diff)
*update
Diffstat (limited to 'src/lua/graphics/luaopen_Font.cpp')
-rw-r--r--src/lua/graphics/luaopen_Font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/graphics/luaopen_Font.cpp b/src/lua/graphics/luaopen_Font.cpp
index 341af87..dc891b0 100644
--- a/src/lua/graphics/luaopen_Font.cpp
+++ b/src/lua/graphics/luaopen_Font.cpp
@@ -25,7 +25,7 @@ namespace lua
int spacing = luax_checknumber(L, 4);
int lheight = luax_checknumber(L, 5);
int w, h;
- (*ref).box(text, fheight, lheight, spacing, &w, &h);
+ ref->box(text, fheight, lheight, spacing, &w, &h);
luax_pushnumber(L, w);
luax_pushnumber(L, h);
return 2;