shithub: pdffs

Download patch

ref: 239bac5fd6ad3503d15ea1b5dd142ffec51b6433
parent: 523458eae9b4458dcd11e4019b15b5b95ae81bc1
author: Noam Preil <noam@pixelhero.dev>
date: Fri Apr 8 17:24:08 EDT 2022

op: don't pretend unimplemented ops work

--- a/op.c
+++ b/op.c
@@ -259,7 +259,7 @@
 pcmove(Op *op, Page *p)
 {
 	USED(op, p);
-	return 1;
+	return 0;
 }
 
 static int
@@ -266,7 +266,7 @@
 pcline(Op *op, Page *p)
 {
 	USED(op, p);
-	return 1;
+	return 0;
 }
 
 static int
@@ -273,7 +273,7 @@
 pccurve(Op *op, Page *p)
 {
 	USED(op, p);
-	return 1;
+	return 0;
 }
 
 static int
@@ -294,7 +294,7 @@
 ppstroke(Op *op, Page *p)
 {
 	USED(op, p);
-	return 1;
+	return 0;
 }
 
 static int