From 608cf07d5f08dd7230016dadfe688239f35e7f81 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Mon, 11 Oct 2010 01:11:00 +0200 Subject: beta 2010.10.11 01:11 --- scripts/context/lua/mtxrun.lua | 2 +- scripts/context/stubs/mswin/mtxrun.lua | 2 +- scripts/context/stubs/unix/mtxrun | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3