From 1b99ba9a579d917bf1dcc6e6e5e40472625e95f1 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Mon, 22 May 2006 09:21:43 +0000 Subject: [PATCH] forgot this in the last patch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13899 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/insetgraphics.C | 1 + 1 file changed, 1 insertion(+) 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 `" -- 2.39.2