From ecca6ad84f2f5da9a201dd37cb493be114b68402 Mon Sep 17 00:00:00 2001
From: Vsevolod Stakhov <vsevolod@highsecure.ru>
Date: Tue, 4 Nov 2014 12:32:49 +0000
Subject: Detect HAN unicode script.

---
 src/lua/lua_task.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lua')

diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index d190373dd..35d7b5c63 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -2008,7 +2008,7 @@ lua_textpart_get_language (lua_State * L)
 		"el",      /* G_UNICODE_SCRIPT_GREEK */
 		"gu",      /* G_UNICODE_SCRIPT_GUJARATI */
 		"pa",      /* G_UNICODE_SCRIPT_GURMUKHI */
-		"",        /* G_UNICODE_SCRIPT_HAN */
+		"han",     /* G_UNICODE_SCRIPT_HAN */
 		"ko",      /* G_UNICODE_SCRIPT_HANGUL */
 		"he",      /* G_UNICODE_SCRIPT_HEBREW */
 		"ja",      /* G_UNICODE_SCRIPT_HIRAGANA */
-- 
cgit v1.2.3