diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:34 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:34 +0100 |
commit | e1d36a6e6b05f55536e0c4c125e881c681e18bc1 (patch) | |
tree | abccd55b33c01b8c43752c09fa0fdbfb2b2774a3 /scripts | |
parent | f784af77ded9f791caa3cdb7864d6696de61bca6 (diff) | |
download | context-e1d36a6e6b05f55536e0c4c125e881c681e18bc1.tar.gz |
beta 2011.11.25 13:29
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/context/lua/mtxrun.lua | 4 | ||||
-rw-r--r-- | scripts/context/stubs/mswin/mtxrun.lua | 4 | ||||
-rwxr-xr-x | scripts/context/stubs/unix/mtxrun | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua index 261c00efd..92e438188 100644 --- a/scripts/context/lua/mtxrun.lua +++ b/scripts/context/lua/mtxrun.lua @@ -10204,9 +10204,9 @@ end -- local function text(collected) -- hybrid - if collected and #collected > 0 then + if collected then -- no # test here ! local e = collected[1] or collected - return (e and xmltotext(e)) or "" + return e and xmltotext(e) or "" else return "" end diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua index 261c00efd..92e438188 100644 --- a/scripts/context/stubs/mswin/mtxrun.lua +++ b/scripts/context/stubs/mswin/mtxrun.lua @@ -10204,9 +10204,9 @@ end -- local function text(collected) -- hybrid - if collected and #collected > 0 then + if collected then -- no # test here ! local e = collected[1] or collected - return (e and xmltotext(e)) or "" + return e and xmltotext(e) or "" else return "" end diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun index 261c00efd..92e438188 100755 --- a/scripts/context/stubs/unix/mtxrun +++ b/scripts/context/stubs/unix/mtxrun @@ -10204,9 +10204,9 @@ end -- local function text(collected) -- hybrid - if collected and #collected > 0 then + if collected then -- no # test here ! local e = collected[1] or collected - return (e and xmltotext(e)) or "" + return e and xmltotext(e) or "" else return "" end |