]> git.lyx.org Git - features.git/commitdiff
Fix a copy-paste error introduced in b754fb02
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 8 Apr 2012 19:47:40 +0000 (21:47 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 8 Apr 2012 19:47:40 +0000 (21:47 +0200)
src/Buffer.cpp

index aebe0c96cbe72760fbe127c206d236ddbeb1ce29..d5e337603c58d734500a905bf46824cacf3b4e87 100644 (file)
@@ -3749,7 +3749,8 @@ Buffer::ExportStatus Buffer::doExport(string const & target, bool put_in_tempdir
                return ExportTexPathHasSpaces;
        } else {
                runparams.nice = false;
-               bool const success = makeLaTeXFile(FileName(filename), string(), runparams);
+               bool const success = makeLaTeXFile(
+                       FileName(filename), filePath(), runparams);
                if (d->cloned_buffer_)
                        d->cloned_buffer_->d->errorLists["Export"] = d->errorLists["Export"];
                if (!success)