From 80422de224dae1d68b3ff9e9c3c6abf780367e36 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 18 Jul 2011 17:23:27 +0400 Subject: [PATCH] Fix textpart:get_language lua function. --- src/lua/lua_task.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index f217ee0b2..a6530160f 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1337,6 +1337,7 @@ lua_textpart_get_language (lua_State * L) sel = languages[part->script]; if (*sel != '\0') { lua_pushstring (L, sel); + return 1; } } -- 2.39.5