From: Georg Baum Date: Mon, 22 May 2006 09:21:43 +0000 (+0000) Subject: forgot this in the last patch X-Git-Tag: 1.6.10~13203 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1b99ba9a579d917bf1dcc6e6e5e40472625e95f1;p=lyx.git forgot this in the last patch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13899 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/insetgraphics.C b/src/insets/insetgraphics.C index 9a55b8e38b..c7e011d8b6 100644 --- a/src/insets/insetgraphics.C +++ b/src/insets/insetgraphics.C @@ -685,6 +685,7 @@ string const InsetGraphics::prepareFile(Buffer const & buf, if (lyx::support::rename(temp_file, new_file)) { temp_file = new_file; output_file = changeExtension(output_file, ext); + source_file = changeExtension(source_file, ext); } else lyxerr[Debug::GRAPHICS] << "Could not rename file `"