From 478c9cd68681cd182b1278f784c6768d48d207b4 Mon Sep 17 00:00:00 2001
From: Philipp Gesang <phg42.2a@gmail.com>
Date: Fri, 14 Mar 2014 18:25:27 +0100
Subject: [doc] actually patch node mode correctly (Thanks, Hans\!)

---
 src/luaotfload-fontloader.lua | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/luaotfload-fontloader.lua b/src/luaotfload-fontloader.lua
index 2b87b3f..d1b12bb 100644
--- a/src/luaotfload-fontloader.lua
+++ b/src/luaotfload-fontloader.lua
@@ -11482,9 +11482,10 @@ end)
 local autofeatures=fonts.analyzers.features 
 local function initialize(sequence,script,language,enabled)
   local features=sequence.features
-  if features then
-    for i=1,#features do
-      local kind=features[i]
+  local order=features.order
+  if order then
+    for i=1,#order do 
+      local kind=order[i] 
       local valid=enabled[kind]
       if valid then
         local scripts=features[kind] 
-- 
cgit v1.2.3