From 8a7b304d89e9c92ab9bf3caaea5d2beeaa70d974 Mon Sep 17 00:00:00 2001 From: Marius Date: Mon, 11 Oct 2010 13:31:11 +0300 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 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 -- cgit v1.2.3