summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2017-02-02 23:04:31 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2017-02-02 23:04:31 +0100
commita3a28ee74faca63bbba07e045906a36b4e967e98 (patch)
tree2bad76c42c37804d1ab9dab2705d6c8874497371 /src
parent529578f58c8221f7fe3deaceecec3a4cf3ff8f2d (diff)
parent184148b97861cb13728c1b7d6a8d8e909fc4cf90 (diff)
downloadluaotfload-a3a28ee74faca63bbba07e045906a36b4e967e98.tar.gz
Merge remote-tracking branch 'canonical/pr/401'
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-database.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua
index fbe0961..e8d6e7b 100644
--- a/src/luaotfload-database.lua
+++ b/src/luaotfload-database.lua
@@ -928,7 +928,7 @@ local choose_size = function (sizes, askedsize)
--- exact match, this is what we were looking for
exact = index
goto skip
- elseif askedsize < low then
+ elseif askedsize <= low then
--- below range, add to the norange table
local d = low - askedsize
norange [#norange + 1] = { d, index }