summaryrefslogtreecommitdiff
path: root/otfl-font-ltx.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-ltx.lua')
-rw-r--r--otfl-font-ltx.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-ltx.lua b/otfl-font-ltx.lua
index 8e64f38..e52360c 100644
--- a/otfl-font-ltx.lua
+++ b/otfl-font-ltx.lua
@@ -25,7 +25,7 @@ local list = { }
local function isstyle(s)
local style = string.lower(s):split("/")
- for _,v in ipairs(style) do
+ for _,v in next, style do
if v == "b" then
list.style = "bold"
elseif v == "i" then