summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luaotfload-fontloader.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luaotfload-fontloader.lua b/src/luaotfload-fontloader.lua
index 90d46df..2b87b3f 100644
--- a/src/luaotfload-fontloader.lua
+++ b/src/luaotfload-fontloader.lua
@@ -11483,8 +11483,8 @@ local autofeatures=fonts.analyzers.features
local function initialize(sequence,script,language,enabled)
local features=sequence.features
if features then
- for i=1,#order do
- local kind=order[i]
+ for i=1,#features do
+ local kind=features[i]
local valid=enabled[kind]
if valid then
local scripts=features[kind]