mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 05:37:11 +00:00
Fix regression of e02df14 (bug #8900)
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;
|
||||
}
|
||||
|
||||
if (!doExport("dvi", true)) {
|
||||
if (doExport("dvi", true) != ExportSuccess) {
|
||||
showPrintError(absFileName());
|
||||
dr.setMessage(_("Error exporting to DVI."));
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user