summaryrefslogtreecommitdiff
path: root/tex/context/base/file-ini.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/file-ini.lua')
-rw-r--r--tex/context/base/file-ini.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/file-ini.lua b/tex/context/base/file-ini.lua
index 1872ed3d3..2bc742a1f 100644
--- a/tex/context/base/file-ini.lua
+++ b/tex/context/base/file-ini.lua
@@ -13,13 +13,13 @@ if not modules then modules = { } end modules ['file-ini'] = {
resolvers.jobs = resolvers.jobs or { }
-local texcount = tex.count
-local setvalue = context.setvalue
+local texsetcount = tex.setcount
+local setvalue = context.setvalue
function commands.splitfilename(fullname)
local t = file.nametotable(fullname)
local path = t.path
- texcount.splitoffkind = (path == "" and 0) or (path == '.' and 1) or 2
+ texsetcount("splitoffkind",(path == "" and 0) or (path == '.' and 1) or 2)
setvalue("splitofffull",fullname)
setvalue("splitoffpath",path)
setvalue("splitoffname",t.name)