summaryrefslogtreecommitdiff
path: root/tex/context/base/scrp-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-11-26 21:21:00 +0100
committerHans Hagen <pragma@wxs.nl>2010-11-26 21:21:00 +0100
commit5210d9a67dba47edb0e5c6944c4a5aa8bc6d60fb (patch)
treed0b0f3da6e1657042d2615550be9fd20fcc98cb6 /tex/context/base/scrp-ini.lua
parent196bf895e4ace113ff1585d6e15d96d8ce6c8e3f (diff)
downloadcontext-5210d9a67dba47edb0e5c6944c4a5aa8bc6d60fb.tar.gz
beta 2010.11.26 21:21
Diffstat (limited to 'tex/context/base/scrp-ini.lua')
-rw-r--r--tex/context/base/scrp-ini.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/scrp-ini.lua b/tex/context/base/scrp-ini.lua
index 11ffd02f8..5b012890d 100644
--- a/tex/context/base/scrp-ini.lua
+++ b/tex/context/base/scrp-ini.lua
@@ -19,7 +19,7 @@ local allocate = utilities.storage.allocate
local set_attribute = node.set_attribute
local has_attribute = node.has_attribute
-local first_character = node.first_character
+local first_glyph = node.first_glyph or node.first_character
local traverse_id = node.traverse_id
local nodecodes = nodes.nodecodes
@@ -284,7 +284,7 @@ end
-- one of the time consuming functiions:
function scripts.preprocess(head)
- local start = first_character(head)
+ local start = first_glyph(head)
if not start then
return head, false
else