]> git.lyx.org Git - lyx.git/blobdiff - src/LyXFunc.cpp
Add the emf and wmf graphics format as parameters to LFUN_PASTE.
[lyx.git] / src / LyXFunc.cpp
index d65568ba19d33878a0738e1ec43e5b02364c9656..ece3b21f57a5e2933021c1d7935ff0b9019e984e 100644 (file)
@@ -1086,7 +1086,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                                // in tmpdir, call the apropriated function.
                                // If tmpdir is a symlink, we may have the real
                                // path passed back, so we correct for that.
-                               if (prefixIs(file_name, realtmp))
+                               if (!prefixIs(file_name, abstmp))
                                        file_name = subst(file_name, realtmp, abstmp);
                                buf = theBufferList().getBufferFromTmp(file_name);
                        } else {