]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Liason.C
fix starting up which binary is really a symlink; make sure insetinclude file browser...
[lyx.git] / src / frontends / Liason.C
index e54e8a9813d8bc98931d260877c43042c56df486..f1fe2c8dcbdf303a2a48b2b8175ea43f83579ba5 100644 (file)
@@ -106,7 +106,7 @@ bool printBuffer(Buffer * buffer, PrinterParams const & pp)
                return false;
 
        // Push directory path.
-       string path = OnlyPath(buffer->fileName());
+       string path = buffer->filePath();
        if (lyxrc.use_tempdir || !IsDirWriteable(path)) {
                path = buffer->tmppath;
        }