summaryrefslogtreecommitdiff
path: root/otfl-font-ltx.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-10-14 20:43:11 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-10-14 20:43:11 +0200
commit27425270c71d8cc0a846f236e7128a2fb80cb403 (patch)
treeb612f60cac4bf9aa0a33fe5f0edd6e7f736bdde7 /otfl-font-ltx.lua
parentee1fab567ddf9949c01459a22f7dcb1053e3c48a (diff)
downloadluaotfload-27425270c71d8cc0a846f236e7128a2fb80cb403.tar.gz
No more pairs()/ipairs()
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