aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_task.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}