From 27425270c71d8cc0a846f236e7128a2fb80cb403 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 14 Oct 2011 20:43:11 +0200 Subject: No more pairs()/ipairs() --- otfl-font-ltx.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otfl-font-ltx.lua') 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 -- cgit v1.2.3