diff options
Diffstat (limited to 'src/lua/graphics/luaopen_Font.cpp')
-rw-r--r-- | src/lua/graphics/luaopen_Font.cpp | 2 |
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; |