You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libppd/SOURCES/libppd-fix-delta-for-sizes....

27 lines
685 B

diff --git a/ppd/ppd-cache.c b/ppd/ppd-cache.c
index 5aa617c..95fb553 100644
--- a/ppd/ppd-cache.c
+++ b/ppd/ppd-cache.c
@@ -26,7 +26,7 @@
// Macro to test for two almost-equal PWG measurements.
//
-#define _PPD_PWG_EQUIVALENT(x, y) (abs((x)-(y)) < 2)
+#define _PPD_PWG_EQUIVALENT(x, y) (abs((x)-(y)) < 50)
//
// Macros to work around typos in older libcups version
diff --git a/ppd/ppd-ipp.c b/ppd/ppd-ipp.c
index 82db2e1..e698bd6 100644
--- a/ppd/ppd-ipp.c
+++ b/ppd/ppd-ipp.c
@@ -24,7 +24,7 @@
// Macro to test for two almost-equal PWG measurements.
//
-#define _PPD_PWG_EQUIVALENT(x, y) (abs((x)-(y)) < 2)
+#define _PPD_PWG_EQUIVALENT(x, y) (abs((x)-(y)) < 50)
//