summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/lnodelib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/lnodelib.c b/Build/source/texk/web2c/luatexdir/lua/lnodelib.c
index dbe195ff2c0..038ae5d9e83 100644
--- a/Build/source/texk/web2c/luatexdir/lua/lnodelib.c
+++ b/Build/source/texk/web2c/luatexdir/lua/lnodelib.c
@@ -733,7 +733,7 @@ static int lua_nodelib_direct_getsup(lua_State * L)
if (n) {
halfword t = type(n);
if (t == simple_noad || t == accent_noad || t == radical_noad) {
- lua_pushinteger(L, subscr(n));
+ lua_pushinteger(L, supscr(n));
return 1;
}
}