Fix a copy-paste error introduced in b754fb02

This commit is contained in:
Vincent van Ravesteijn 2012-04-08 21:47:40 +02:00
parent 1fa39e1f95
commit 91bc04946f

View 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)