summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/luatexdir/luafontloader/ChangeLog4
-rw-r--r--Build/source/texk/web2c/luatexdir/luafontloader/src/luafflib.c17
2 files changed, 13 insertions, 8 deletions
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 <kakuto@fuk.kindai.ac.jp>
+
+ * src/luafflib.c: Import patch for issue 730 by Hans.
+
2015-10-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* 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;
}