summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-features.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index 786f619..b432022 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -1259,6 +1259,8 @@ local handle_request = function (specification)
local subfont = tonumber (specification.sub)
if subfont and subfont >= 0 then
specification.sub = subfont + 1
+ else
+ specification.sub = false
end
return specification
end