mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
In e02df14
the return type of doExport was changed from bool to ExportStatus.
All calls except this one were adjusted. This one did now fail because the
numercial value of ExportSuccess is 0.
This commit is contained in:
parent
f83ac67e1a
commit
2aa2544e1d
@ -2562,7 +2562,7 @@ void Buffer::dispatch(FuncRequest const & func, DispatchResult & dr)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!doExport("dvi", true)) {
|
if (doExport("dvi", true) != ExportSuccess) {
|
||||||
showPrintError(absFileName());
|
showPrintError(absFileName());
|
||||||
dr.setMessage(_("Error exporting to DVI."));
|
dr.setMessage(_("Error exporting to DVI."));
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user