openbsd-ports/textproc/xpdf/patches/patch-xpdf_XPDFViewer_cc
brad 774e18ab50 remove DRM bullshit.
--
From: cloder@
2003-10-24 19:31:57 +00:00

16 lines
531 B
Plaintext

$OpenBSD: patch-xpdf_XPDFViewer_cc,v 1.1 2003/10/24 19:31:57 brad Exp $
--- xpdf/XPDFViewer.cc.orig 2003-10-23 22:55:18.000000000 -0700
+++ xpdf/XPDFViewer.cc 2003-10-23 22:55:31.000000000 -0700
@@ -2132,11 +2132,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);