fix crash with external inset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5544 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-10-29 16:01:19 +00:00
parent a92f57dff6
commit 527b60ce38
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetexternal.C (doSubstitution): do not try to replace
environment variables, this is done when executing the command
2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* insetexternal.C (doSubstitution): change order of substitution

View File

@ -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(\"")) {