summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <megas.kapaneus@gmail.com>2013-04-09 14:53:07 +0200
committerPhilipp Gesang <megas.kapaneus@gmail.com>2013-04-09 14:53:07 +0200
commit24b1bdad120fcb18d0aebd66a52f3b2f19677e42 (patch)
tree6d278f4e5255353974da5a2514dc48b7890f0913
parentf27aa22b46f1c43d05cfbb5991b5ed3e8e923f63 (diff)
downloadluaotfload-24b1bdad120fcb18d0aebd66a52f3b2f19677e42.tar.gz
fix function names
-rw-r--r--otfl-font-nms.lua17
1 files changed, 9 insertions, 8 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 094ebec..3934919 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -30,13 +30,14 @@ else
end
end
-local splitpath, expandpath = file.split_path, kpse.expand_path
-local glob, basename = dir.glob, file.basename
-local extname = file.extname
-local upper, lower, format = string.upper, string.lower, string.format
-local gsub, match, rpadd = string.gsub, string.match, string.rpadd
-local gmatch, sub, find = string.gmatch, string.sub, string.find
-local utfgsub = unicode.utf8.gsub
+local splitpath, collapsepath = file.splitpath, file.collapsepath
+local expandpath = kpse.expand_path
+local glob, basename = dir.glob, file.basename
+local extname = file.extname
+local upper, lower, format = string.upper, string.lower, string.format
+local gsub, match, rpadd = string.gsub, string.match, string.rpadd
+local gmatch, sub, find = string.gmatch, string.sub, string.find
+local utfgsub = unicode.utf8.gsub
local trace_short = false --tracing adapted to rebuilding of the database inside a document
local trace_search = false --trackers.register("names.search", function(v) trace_search = v end)
@@ -430,7 +431,7 @@ local function path_normalize(path)
end
end
end
- path = file.collapse_path(path)
+ path = collapsepath(path)
return path
end