cups/cups-1.3.3-testppd_none.patch

14 lines
454 B
Diff
Raw Normal View History

--- cups-1.3.3/systemv/cupstestppd.c.orig 2007-10-15 18:50:01.000000000 +0200
+++ cups-1.3.3/systemv/cupstestppd.c 2007-10-15 18:52:26.000000000 +0200
@@ -983,8 +983,8 @@
else
ydpi = xdpi;
- if (xdpi <= 0 || xdpi > 99999 || ydpi <= 0 || ydpi > 99999 ||
- strcmp(ptr, "dpi"))
+ if ((xdpi <= 0 || xdpi > 99999 || ydpi <= 0 || ydpi > 99999 ||
+ strcmp(ptr, "dpi")) && (strcmp(ptr, "None")))
{
if (verbose >= 0)
{