From ad026fedf0c389679d725d2ec0b831c1ff2c7fb3 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Fri, 23 Oct 2015 13:56:05 +0000 Subject: web2c/luatexdir/luafontloader/src/luafflib.c: Import patch for issue 730 by Hans. git-svn-id: svn://tug.org/texlive/trunk@38695 c570f23f-e606-0410-a88d-b1316a301751 --- .../source/texk/web2c/luatexdir/luafontloader/ChangeLog | 4 ++++ .../texk/web2c/luatexdir/luafontloader/src/luafflib.c | 17 +++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'Build/source') diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog b/Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog index 7b9b0c48c7d..4e08ed5a240 100644 --- a/Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog @@ -1,3 +1,7 @@ +2015-10-23 Akira Kakuto + + * src/luafflib.c: Import patch for issue 730 by Hans. + 2015-10-08 Peter Breitenlohner * fontforge/fontforge/splinefont.h. diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c b/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c index f932c3d9946..5cf5076bbcc 100644 --- a/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c +++ b/Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c @@ -303,17 +303,18 @@ static int ff_apply_featurefile(lua_State * L) sf = check_isfont(L, 1); fname = xstrdup(luaL_checkstring(L, 2)); SFApplyFeatureFilename(*sf, fname); + recorder_record_input(fname); free(fname); if (gww_error_count > 0) { - int i; - lua_newtable(L); - for (i = 0; i < gww_error_count; i++) { - lua_pushstring(L, gww_errors[i]); - lua_rawseti(L, -2, (i + 1)); - } - gwwv_errors_free(); + int i; + lua_newtable(L); + for (i = 0; i < gww_error_count; i++) { + lua_pushstring(L, gww_errors[i]); + lua_rawseti(L, -2, (i + 1)); + } + gwwv_errors_free(); } else { - lua_pushnil(L); + lua_pushnil(L); } return 1; } -- cgit v1.2.3