summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-09-29 22:49:16 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-09-29 22:49:16 +0200
commit21c660b3904ebbe89fdb0be4608ca23142af0ced (patch)
tree8060a4a2af767b2fa466ea5bc7d91fb69e6140ec
parente7df86aa0afab9d353313a2d2d9bc66045fd823c (diff)
downloadluaotfload-21c660b3904ebbe89fdb0be4608ca23142af0ced.tar.gz
[tool] fix crash in verbose error message
-rwxr-xr-xsrc/luaotfload-tool.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/luaotfload-tool.lua b/src/luaotfload-tool.lua
index 6c1f7d1..e7df3ce 100755
--- a/src/luaotfload-tool.lua
+++ b/src/luaotfload-tool.lua
@@ -701,7 +701,8 @@ local show_font_info = function (basename, askedname, detail, subfont)
[[%s is a font collection]], basename)
for subfont = 1, nfonts do
logreport (true, 1, "resolve",
- [[Showing info for font no. %d]], n)
+ [[Showing info for font no. %d]],
+ subfont)
show_info_items(shortinfo[subfont])
if detail == true then
show_full_info(fullname, subfont)