Fix a copy-paste error introduced in b754fb02

(cherry picked from commit 91bc04946f)
This commit is contained in:
Vincent van Ravesteijn 2012-04-08 21:47:40 +02:00
parent 25246819de
commit a6399dcd84

View File

@ -3613,7 +3613,8 @@ bool Buffer::doExport(string const & format, bool put_in_tempdir,
return false; return false;
} else { } else {
runparams.nice = false; runparams.nice = false;
bool const success = makeLaTeXFile(FileName(filename), string(), runparams); bool const success = makeLaTeXFile(
FileName(filename), filePath(), runparams);
if (d->cloned_buffer_) if (d->cloned_buffer_)
d->cloned_buffer_->d->errorLists["Export"] = d->errorLists["Export"]; d->cloned_buffer_->d->errorLists["Export"] = d->errorLists["Export"];
if (!success) if (!success)