summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-11-17 20:15:43 +0100
committerPhilipp Gesang <phg42.2a@gmail.com>2013-11-17 20:15:43 +0100
commitf0c93b5cd18d7cc2b492f4fc754b12aabe45203b (patch)
tree6fa45fa83f8c6b4543c4c0c2088f6005e86ffc97
parent73043122cc8f267f60db240cfddc93c5ceaf2400 (diff)
downloadluaotfload-f0c93b5cd18d7cc2b492f4fc754b12aabe45203b.tar.gz
[db] fix fuzzy results printer
-rw-r--r--luaotfload-database.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/luaotfload-database.lua b/luaotfload-database.lua
index 0b12006..d258a19 100644
--- a/luaotfload-database.lua
+++ b/luaotfload-database.lua
@@ -1319,8 +1319,9 @@ find_closest = function (name, limit)
local dist = distances[i]
local namelst = by_distance[dist]
report(false, 0, "query",
- "Distance from \"%s\": %s\n ",
- name, dist, tableconcat (namelst, "\n "))
+ "Distance from \"%s\": %s\n "
+ .. tableconcat (namelst, "\n "),
+ name, dist)
end
return true