]> git.lyx.org Git - lyx.git/blobdiff - src/LyXSendto.C
Michael's latest batch of new gnome files.
[lyx.git] / src / LyXSendto.C
index 5f672ac07bd0e4da087e725e2aaf06e06c7d0205..d457dc7fa11cf4e322c6015f24d3ca7a4fabe3fd 100644 (file)
@@ -80,7 +80,7 @@ void SendtoApplyCB(FL_OBJECT *, long)
     command = subst(command, "$$FName", fname);
     command += " &"; // execute in background
     // push directorypath, if necessary 
-    string path = OnlyPath(buffer->fileName());
+    string path = buffer->filePath();
     if (lyxrc.use_tempdir || !IsDirWriteable(path)){
         path = buffer->tmppath;
     }