From 24b1bdad120fcb18d0aebd66a52f3b2f19677e42 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 9 Apr 2013 14:53:07 +0200 Subject: fix function names --- otfl-font-nms.lua | 17 +++++++++-------- 1 file 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 -- cgit v1.2.3