diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luaotfload-letterspace.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/luaotfload-letterspace.lua b/src/luaotfload-letterspace.lua index 5fa25f9..aa9157a 100644 --- a/src/luaotfload-letterspace.lua +++ b/src/luaotfload-letterspace.lua @@ -441,9 +441,9 @@ kerncharacters = function (head) setfield(after, "next", nil) replace = kerncharacters (before) replace = getnext(replace) - setfield(replace, "prev", nil) - setfield(after, "prev.next", nil) - setfield(disc, "replace", replace) + setfield(replace, "prev", nil) + setfield(getprev(after), "next", nil) + setfield(disc, "replace", replace) free_node(after) free_node(before) |