mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
work around crash with external inset and latex export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5514 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
87bfedd291
commit
8e41fc9bd0
@ -1,3 +1,8 @@
|
||||
2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* insetexternal.C (doSubstitution): change order of substitution
|
||||
to work around ReplaceEnvironmentPath brokenness
|
||||
|
||||
2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
|
||||
|
||||
* insetgraphicsParams.h (scale): is now a float, not an unsigned int.
|
||||
|
@ -243,9 +243,9 @@ string const InsetExternal::doSubstitution(Buffer const * buffer,
|
||||
result = subst(result, "$$Basename", basename);
|
||||
result = subst(result, "$$Parameters", params_.parameters);
|
||||
result = subst(result, "$$FPath", filepath);
|
||||
result = ReplaceEnvironmentPath(result);
|
||||
result = subst(result, "$$Tempname", tempname_);
|
||||
result = subst(result, "$$Sysdir", system_lyxdir);
|
||||
result = ReplaceEnvironmentPath(result);
|
||||
|
||||
// Handle the $$Contents(filename) syntax
|
||||
if (contains(result, "$$Contents(\"")) {
|
||||
|
Loading…
Reference in New Issue
Block a user