mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
* src/insets/insetgraphics.C
(InsetGraphics::prepareFile): Use correct extension if it cannot be stripped. I overlooked this when I did the stripExtension -> stripExtensionIfPossible change in revision 10093. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17121 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0d3e5931c4
commit
8114643845
@ -711,7 +711,7 @@ string const InsetGraphics::prepareFile(Buffer const & buf,
|
||||
output_to_file);
|
||||
runparams.exportdata->addExternalFile("dvi", to_file,
|
||||
output_to_file);
|
||||
return stripExtensionIfPossible(output_file);
|
||||
return stripExtensionIfPossible(output_to_file);
|
||||
}
|
||||
|
||||
lyxerr[Debug::GRAPHICS]
|
||||
@ -727,7 +727,7 @@ string const InsetGraphics::prepareFile(Buffer const & buf,
|
||||
to_file, output_to_file);
|
||||
}
|
||||
|
||||
return stripExtensionIfPossible(output_file);
|
||||
return stripExtensionIfPossible(output_to_file);
|
||||
}
|
||||
|
||||
|
||||
|
@ -125,6 +125,9 @@ What's new
|
||||
|
||||
- Read filenames with spaces in external insets correctly from .lyx files
|
||||
|
||||
- Use the correct filename extension of included graphics in latex export if
|
||||
it cannot be omitted.
|
||||
|
||||
* USER INTERFACE:
|
||||
|
||||
- Fix slowness with lots of math on Windows (bug 2900).
|
||||
|
Loading…
Reference in New Issue
Block a user