]> git.lyx.org Git - lyx.git/commitdiff
forgot this in the last patch
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 22 May 2006 09:21:43 +0000 (09:21 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Mon, 22 May 2006 09:21:43 +0000 (09:21 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13899 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/insetgraphics.C

index 9a55b8e38beeef139ae716db999efe1d9996b473..c7e011d8b6ab84a42dc772e419555cd7bc7afca7 100644 (file)
@@ -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 `"