summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/file-mod.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/file-mod.lua')
-rw-r--r--tex/context/base/mkiv/file-mod.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/file-mod.lua b/tex/context/base/mkiv/file-mod.lua
index 3bbc28727..81320f96e 100644
--- a/tex/context/base/mkiv/file-mod.lua
+++ b/tex/context/base/mkiv/file-mod.lua
@@ -137,7 +137,7 @@ function environment.usemodules(prefix,askedname,truename)
end
if status then
-- ok, don't change
- elseif find(truename,"%-") and usemodule(truename) then
+ elseif find(truename,"-",1,true) and usemodule(truename) then
-- assume a user namespace
report("using user prefixed file %a",truename)
status = 1