summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2010-10-11 01:11:00 +0200
committerHans Hagen <pragma@wxs.nl>2010-10-11 01:11:00 +0200
commit608cf07d5f08dd7230016dadfe688239f35e7f81 (patch)
treeebce2b386a03788fbb02eb04f7e1f17117dcc56a /scripts
parent1b2a17ebfd56124803e8d0168c2755cb073ff425 (diff)
downloadcontext-608cf07d5f08dd7230016dadfe688239f35e7f81.tar.gz
beta 2010.10.11 01:11
Diffstat (limited to 'scripts')
-rw-r--r--scripts/context/lua/mtxrun.lua2
-rw-r--r--scripts/context/stubs/mswin/mtxrun.lua2
-rwxr-xr-xscripts/context/stubs/unix/mtxrun2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/context/lua/mtxrun.lua b/scripts/context/lua/mtxrun.lua
index 66037a9d7..f83f0d41d 100644
--- a/scripts/context/lua/mtxrun.lua
+++ b/scripts/context/lua/mtxrun.lua
@@ -8280,7 +8280,7 @@ local function stripelement(e,nolines,anywhere)
end
end
end
- if #edt > 1 then
+ if #edt > 0 then
-- strip end
local str = edt[#edt]
if type(str) ~= "string" then
diff --git a/scripts/context/stubs/mswin/mtxrun.lua b/scripts/context/stubs/mswin/mtxrun.lua
index 66037a9d7..f83f0d41d 100644
--- a/scripts/context/stubs/mswin/mtxrun.lua
+++ b/scripts/context/stubs/mswin/mtxrun.lua
@@ -8280,7 +8280,7 @@ local function stripelement(e,nolines,anywhere)
end
end
end
- if #edt > 1 then
+ if #edt > 0 then
-- strip end
local str = edt[#edt]
if type(str) ~= "string" then
diff --git a/scripts/context/stubs/unix/mtxrun b/scripts/context/stubs/unix/mtxrun
index 66037a9d7..f83f0d41d 100755
--- a/scripts/context/stubs/unix/mtxrun
+++ b/scripts/context/stubs/unix/mtxrun
@@ -8280,7 +8280,7 @@ local function stripelement(e,nolines,anywhere)
end
end
end
- if #edt > 1 then
+ if #edt > 0 then
-- strip end
local str = edt[#edt]
if type(str) ~= "string" then