mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
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:
parent
a92f57dff6
commit
527b60ce38
@ -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>
|
2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||||
|
|
||||||
* insetexternal.C (doSubstitution): change order of substitution
|
* insetexternal.C (doSubstitution): change order of substitution
|
||||||
|
@ -245,7 +245,6 @@ string const InsetExternal::doSubstitution(Buffer const * buffer,
|
|||||||
result = subst(result, "$$FPath", filepath);
|
result = subst(result, "$$FPath", filepath);
|
||||||
result = subst(result, "$$Tempname", tempname_);
|
result = subst(result, "$$Tempname", tempname_);
|
||||||
result = subst(result, "$$Sysdir", system_lyxdir);
|
result = subst(result, "$$Sysdir", system_lyxdir);
|
||||||
result = ReplaceEnvironmentPath(result);
|
|
||||||
|
|
||||||
// Handle the $$Contents(filename) syntax
|
// Handle the $$Contents(filename) syntax
|
||||||
if (contains(result, "$$Contents(\"")) {
|
if (contains(result, "$$Contents(\"")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user