diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-05-18 10:57:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-05-18 10:57:00 +0200 |
commit | cf10a29d938a8fd2ad81f8034b53ee7409990169 (patch) | |
tree | 1c53e21b95e86196c426a4cdda48000c6174eb8e /scripts | |
parent | 89f1dbd1efbc71e5a74d798142ae5275e6f097ff (diff) | |
download | context-cf10a29d938a8fd2ad81f8034b53ee7409990169.tar.gz |
beta 2010.05.18 10:57
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtx-interface.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/context/lua/mtx-interface.lua b/scripts/context/lua/mtx-interface.lua index 4aaa3b5a0..56cc68a55 100644 --- a/scripts/context/lua/mtx-interface.lua +++ b/scripts/context/lua/mtx-interface.lua @@ -138,7 +138,7 @@ function scripts.interface.check() end function scripts.interface.context() - local filename = resolvers.find_file("mult-def.lua") or "" + local filename = resolvers.find_file(environment.files[1] or "mult-def.lua") or "" if filename ~= "" then local interface = dofile(filename) if interface and next(interface) then @@ -213,7 +213,7 @@ function scripts.interface.context() end function scripts.interface.messages() - local filename = resolvers.find_file("mult-mes.lua") or "" + local filename = resolvers.find_file(environment.files[1] or "mult-mes.lua") or "" if filename ~= "" then local messages = dofile(filename) for _, interface in ipairs(messageinterfaces) do |