diff options
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua/lnodelib.c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/lnodelib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/lnodelib.c b/Build/source/texk/web2c/luatexdir/lua/lnodelib.c index dd794827646..d5ab00a5541 100644 --- a/Build/source/texk/web2c/luatexdir/lua/lnodelib.c +++ b/Build/source/texk/web2c/luatexdir/lua/lnodelib.c @@ -7581,6 +7581,7 @@ static int lua_nodelib_direct_uses_font(lua_State * L) halfword p; if (type(n) == glyph_node) { lua_pushboolean(L,font(n) == f); + return 1; } else if (type(n) == disc_node) { uses_font_disc(pre_break,p,n); uses_font_disc(post_break,p,n); @@ -7598,6 +7599,7 @@ static int lua_nodelib_uses_font(lua_State * L) halfword p; if (type(n) == glyph_node) { lua_pushboolean(L,font(n) == f); + return 1; } else if (type(n) == disc_node) { uses_font_disc(pre_break,p,n); uses_font_disc(post_break,p,n); |