diff options
author | Marius <mariausol@gmail.com> | 2010-08-20 10:35:18 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-08-20 10:35:18 +0300 |
commit | 20da4ce347921be291c8804041bd8756e3bf1707 (patch) | |
tree | e079545741aeb84163b5888e77449c780e0233d6 /scripts/context/lua/x-ldx.lua | |
parent | 7d7e0d3c8d778650105cfb479f31a2bb54d69d50 (diff) | |
download | context-20da4ce347921be291c8804041bd8756e3bf1707.tar.gz |
beta 2010.08.20 00:00
Diffstat (limited to 'scripts/context/lua/x-ldx.lua')
-rw-r--r-- | scripts/context/lua/x-ldx.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/context/lua/x-ldx.lua b/scripts/context/lua/x-ldx.lua index e0f21d68c..c71994b50 100644 --- a/scripts/context/lua/x-ldx.lua +++ b/scripts/context/lua/x-ldx.lua @@ -269,10 +269,10 @@ The next function wraps it all in one call: --ldx]]-- function ldx.convert(luaname,ldxname) - if not file.isreadable(luaname) then + if not file.is_readable(luaname) then luaname = luaname .. ".lua" end - if file.isreadable(luaname) then + if file.is_readable(luaname) then if not ldxname then ldxname = file.replacesuffix(luaname,"ldx") end |