summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2015-10-29 07:37:39 +0100
committerPhilipp Gesang <phg@phi-gamma.net>2015-10-29 07:37:39 +0100
commite52df63570da80bf121fd9b9294de5a2d037f1b6 (patch)
tree8853c4aa1c3174d1fb3766f8e75653961a5fc144 /src
parent1bffc1c923412efa9b45f370d771d1ebacbcbaef (diff)
downloadluaotfload-e52df63570da80bf121fd9b9294de5a2d037f1b6.tar.gz
[main] dejumble module loader message
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-main.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/luaotfload-main.lua b/src/luaotfload-main.lua
index 3d68a17..ff2b48d 100644
--- a/src/luaotfload-main.lua
+++ b/src/luaotfload-main.lua
@@ -109,15 +109,15 @@ end
local make_loader_name = function (prefix, name)
local msg = luaotfload.log and luaotfload.log.report or print
- if prefix then
+ if prefix and name then
msg ("log", 7, "load",
- "Composing fontloader name from constitutents %s, %s",
+ "Composing module name from constituents %s, %s",
prefix, name)
return prefix .. "-" .. name .. ".lua"
end
msg ("log", 7, "load",
- "Loading fontloader file %s literally.",
- name)
+ "Loading module %s literally.",
+ tostring (name))
return name
end