summaryrefslogtreecommitdiff
path: root/src/rgui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgui.c')
-rw-r--r--src/rgui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgui.c b/src/rgui.c
index f410a55..e7a080e 100644
--- a/src/rgui.c
+++ b/src/rgui.c
@@ -116,7 +116,7 @@ int lguiGuiGetState( lua_State *L ) {
Set gui custom font (global state)
*/
int lguiGuiSetFont( lua_State *L ) {
- Font *font = luaL_checkudata( L, 1, "Font" );
+ Font *font = uluaGetFont( L, 1 );
GuiSetFont( *font );