summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2010-10-11 13:31:11 +0300
committerMarius <mariausol@gmail.com>2010-10-11 13:31:11 +0300
commit8a7b304d89e9c92ab9bf3caaea5d2beeaa70d974 (patch)
treef6f5566fcdc037c28f5b2a099ca598678266637f /scripts
parent16099e33b6d50b37bcddb96e29777a235d2335d7 (diff)
downloadcontext-8a7b304d89e9c92ab9bf3caaea5d2beeaa70d974.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
-rw-r--r--scripts/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 100644
--- 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