openbsd-ports/textproc/xpdf/patches/patch-xpdf_XPDFViewer_cc
brad 54cbe89b39 upgrade to xpdf 3.00
"shitloads better rendering" - jose@
2004-01-25 06:02:40 +00:00

16 lines
531 B
Plaintext

$OpenBSD: patch-xpdf_XPDFViewer_cc,v 1.2 2004/01/25 06:02:40 brad Exp $
--- xpdf/XPDFViewer.cc.orig 2004-01-21 20:26:45.000000000 -0500
+++ xpdf/XPDFViewer.cc 2004-01-24 23:34:15.000000000 -0500
@@ -2285,11 +2285,6 @@ void XPDFViewer::printPrintCbk(Widget wi
PSOutputDev *psOut;
doc = viewer->core->getDoc();
- if (!doc->okToPrint()) {
- error(-1, "Printing this document is not allowed.");
- return;
- }
-
viewer->core->setBusyCursor(gTrue);
XtVaGetValues(viewer->printWithCmdBtn, XmNset, &withCmd, NULL);