From 527b60ce383d4f22f3cbcadc32989d372d7ec091 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 29 Oct 2002 16:01:19 +0000 Subject: [PATCH] fix crash with external inset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5544 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 5 +++++ src/insets/insetexternal.C | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index b475fec8cd..4284f5a8d1 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,8 @@ +2002-10-25 Jean-Marc Lasgouttes + + * insetexternal.C (doSubstitution): do not try to replace + environment variables, this is done when executing the command + 2002-10-24 Jean-Marc Lasgouttes * insetexternal.C (doSubstitution): change order of substitution diff --git a/src/insets/insetexternal.C b/src/insets/insetexternal.C index 33f26e05b5..ed22c53cdf 100644 --- a/src/insets/insetexternal.C +++ b/src/insets/insetexternal.C @@ -245,7 +245,6 @@ string const InsetExternal::doSubstitution(Buffer const * buffer, result = subst(result, "$$FPath", filepath); result = subst(result, "$$Tempname", tempname_); result = subst(result, "$$Sysdir", system_lyxdir); - result = ReplaceEnvironmentPath(result); // Handle the $$Contents(filename) syntax if (contains(result, "$$Contents(\"")) { -- 2.39.5