summaryrefslogtreecommitdiff
path: root/luaotfload-tool.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-13 00:38:07 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-13 00:38:07 +0100
commit32a5a40a2f99bf82436bfec8926fe7bfeaa1194d (patch)
treefeca35fc413d9be0bfe491e4abc9c3e3ae82ab6a /luaotfload-tool.lua
parenta914c23b674ff6bacb85a9701a828e03ec24cbc0 (diff)
downloadluaotfload-32a5a40a2f99bf82436bfec8926fe7bfeaa1194d.tar.gz
[db] simplify loop exit condition
Diffstat (limited to 'luaotfload-tool.lua')
-rwxr-xr-xluaotfload-tool.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/luaotfload-tool.lua b/luaotfload-tool.lua
index 41ac4d7..a945ee2 100755
--- a/luaotfload-tool.lua
+++ b/luaotfload-tool.lua
@@ -1224,7 +1224,7 @@ local process_cmdline = function ( ) -- unit -> jobspec
elseif v == "max-fonts" then
local n = optarg[n]
if n then
- n = tonumber(lvl)
+ n = tonumber(n)
if n and n > 0 then
luaotfloadconfig.max_fonts = n
end