summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-04-17 13:12:09 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-04-17 13:12:09 +0200
commitc452fefcdf8316b946ed64c9849342cc012b7394 (patch)
treef6bfc508e044c044eafdb04acc7bed97bd38a5da /src
parent97ec9e582e5be33001c136a9c69b5eebee4fdb2a (diff)
downloadluaotfload-c452fefcdf8316b946ed64c9849342cc012b7394.tar.gz
[features] fix buggy state check
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-features.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/luaotfload-features.lua b/src/luaotfload-features.lua
index 250fbc8..2148019 100644
--- a/src/luaotfload-features.lua
+++ b/src/luaotfload-features.lua
@@ -36,12 +36,11 @@ local config = config or { luaotfload = { run = { } } }
local as_script = true
local normalize = function () end
-if config.luaotfload.run.live == true then
+if config.luaotfload.run.live ~= false then
normalize = handlers.otf.features.normalize
as_script = false
end
-
--HH A bit of tuning for definitions.
if fonts.constructors then