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:
Georg Baum 2013-11-14 20:56:50 +01:00
parent f83ac67e1a
commit 2aa2544e1d

View File

@ -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;