summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index aa958ea..3239f0b 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -282,7 +282,7 @@ end
-- - a/../b -> b
-- - /cygdrive/a/b -> a:/b
local function path_normalize(path)
- if os.type ~= 'unix' then
+ if os.type == "windows" then
path = path:gsub('\\', '/')
path = path:lower()
end