summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-dha.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2020-03-10 15:42:39 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2020-03-10 15:42:39 +0100
commit0b0256403b7e111df0ecdb8ca589f20df787dacd (patch)
tree49b02d80ccbb26aa235351ae3dfd2d099635ea72 /tex/context/base/mkiv/typo-dha.lua
parent631a40d69d7fb4e5beff90039d21da5472dd1020 (diff)
downloadcontext-0b0256403b7e111df0ecdb8ca589f20df787dacd.tar.gz
2020-03-10 14:47:00
Diffstat (limited to 'tex/context/base/mkiv/typo-dha.lua')
-rw-r--r--tex/context/base/mkiv/typo-dha.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/typo-dha.lua b/tex/context/base/mkiv/typo-dha.lua
index 9a6e39f42..7d5c7751b 100644
--- a/tex/context/base/mkiv/typo-dha.lua
+++ b/tex/context/base/mkiv/typo-dha.lua
@@ -59,6 +59,7 @@ local getdirection = nuts.getdirection
local isglyph = nuts.isglyph -- or ischar
local setprop = nuts.setprop
+local setstate = nuts.setstate
local setchar = nuts.setchar
local insert_node_before = nuts.insert_before
@@ -100,7 +101,6 @@ local directions = typesetters.directions
local setcolor = directions.setcolor
local getglobal = directions.getglobal
-local a_state = attributes.private('state')
local a_directions = attributes.private('directions')
local strip = false
@@ -191,7 +191,7 @@ local function process(start)
end
elseif lro or override < 0 then
if direction == "r" or direction == "al" then
- setprop(current,a_state,s_isol) -- hm
+ setstate(current,s_isol) -- hm
direction = "l"
reversed = true
end