From 3272c66cee887b997171854484fa8a8086884b12 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Fri, 11 Mar 2016 16:10:51 +0000 Subject: Implement fz_text_language support functions. Add code to convert to and from fz_text_language codes from ISO 639 language strings. No validation is carried out. --- source/tools/murun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/tools') diff --git a/source/tools/murun.c b/source/tools/murun.c index 8ff59be7..69fac9bb 100644 --- a/source/tools/murun.c +++ b/source/tools/murun.c @@ -1935,7 +1935,7 @@ static void ffi_Text_showGlyph(js_State *J) int wmode = js_isdefined(J, 5) ? js_toboolean(J, 5) : 0; fz_try(ctx) - fz_show_glyph(ctx, text, font, &trm, glyph, unicode, wmode, 0, FZ_DIR_UNSET, fz_lang_unset); + fz_show_glyph(ctx, text, font, &trm, glyph, unicode, wmode, 0, FZ_DIR_UNSET, FZ_LANG_UNSET); fz_catch(ctx) rethrow(J); } @@ -1950,7 +1950,7 @@ static void ffi_Text_showString(js_State *J) int wmode = js_isdefined(J, 4) ? js_toboolean(J, 4) : 0; fz_try(ctx) - fz_show_string(ctx, text, font, &trm, s, wmode, 0, FZ_DIR_UNSET, fz_lang_unset); + fz_show_string(ctx, text, font, &trm, s, wmode, 0, FZ_DIR_UNSET, FZ_LANG_UNSET); fz_catch(ctx) rethrow(J); -- cgit v1.2.3