From a959c94c1d67e234adbbb96d0d290eaf3bc26ac1 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 25 Apr 2017 18:04:01 +0200 Subject: Gui start --- src/sysbin/lx/lxdrawlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sysbin') diff --git a/src/sysbin/lx/lxdrawlib.c b/src/sysbin/lx/lxdrawlib.c index 91bf07f..001d378 100644 --- a/src/sysbin/lx/lxdrawlib.c +++ b/src/sysbin/lx/lxdrawlib.c @@ -89,7 +89,7 @@ static int font_text_height(lua_State *L) { // ==================================================================== // SURFACES -static int draw_from_fd(lua_State *L) { +static int draw_surface_from_fd(lua_State *L) { int fd = luaL_checkinteger(L, 1); luaL_checktype(L, 2, LUA_TTABLE); @@ -267,7 +267,7 @@ static int surface_write(lua_State *L) { /* }====================================================== */ static const luaL_Reg drawlib[] = { - {"from_fd", draw_from_fd}, + {"surface_from_fd",draw_surface_from_fd}, {"load_font", draw_loadfont}, {NULL, NULL} }; -- cgit v1.2.3