summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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