summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroux <elie.roux@telecom-bretagne.eu>2010-03-10 10:49:46 +0100
committereroux <elie.roux@telecom-bretagne.eu>2010-03-10 10:49:46 +0100
commit631054664ae5d661465abc61f00d60e63388115d (patch)
treecf47737f960ee7649983cc90f08d7b2f0f5a9a6a
parent76e023b064c2c5b7b7914bd68916adac8adc74f2 (diff)
downloadluaotfload-631054664ae5d661465abc61f00d60e63388115d.tar.gz
Oops...
-rw-r--r--otfl-font-nms.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index bcc9467..a45aeb7 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -147,6 +147,9 @@ local function load_font(filename, fontnames, status, newfontnames, newstatus, t
end
local checksum = file.checksum(filename)
local info = fontloader.info(filename)
+ if not purge then
+ tofillstatus[filename] = {timestamp = true_lastmodif, mappings = {}}
+ end
if info then
if type(info) == "table" and #info > 1 then
for index,_ in ipairs(info) do