From: surajkulriya Date: Wed, 17 Feb 2021 16:24:04 +0000 (+0530) Subject: making True case-insensitive and correcting documentation for existing clients. X-Git-Tag: v2.4b1~211^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F106%2Fhead;p=thirdparty%2Fcups.git making True case-insensitive and correcting documentation for existing clients. --- diff --git a/cups/ppd.c b/cups/ppd.c index 1d92a21f3a..d6916b2474 100644 --- a/cups/ppd.c +++ b/cups/ppd.c @@ -871,15 +871,15 @@ _ppdOpen( ppd_decode(ppd->jcl_ps); /* Decode quoted string */ } else if (!strcmp(keyword, "AccurateScreensSupport")) - ppd->accurate_screens = !strcmp(string, "True"); + ppd->accurate_screens = !strcasecmp(string, "True"); else if (!strcmp(keyword, "ColorDevice")) - ppd->color_device = !strcmp(string, "True"); + ppd->color_device = !strcasecmp(string, "True"); else if (!strcmp(keyword, "ContoneOnly")) - ppd->contone_only = !strcmp(string, "True"); + ppd->contone_only = !strcasecmp(string, "True"); else if (!strcmp(keyword, "cupsFlipDuplex")) - ppd->flip_duplex = !strcmp(string, "True"); + ppd->flip_duplex = !strcasecmp(string, "True"); else if (!strcmp(keyword, "cupsManualCopies")) - ppd->manual_copies = !strcmp(string, "True"); + ppd->manual_copies = !strcasecmp(string, "True"); else if (!strcmp(keyword, "cupsModelNumber")) ppd->model_number = atoi(string); else if (!strcmp(keyword, "cupsColorProfile")) diff --git a/doc/help/spec-ppd.html b/doc/help/spec-ppd.html index ee383fbe03..5dbea496c5 100644 --- a/doc/help/spec-ppd.html +++ b/doc/help/spec-ppd.html @@ -1958,7 +1958,7 @@ hardware. The default value is false.

 *% Tell the RIP filters to generate the copies for us
-*cupsManualCopies: true
+*cupsManualCopies: True
 
diff --git a/filter/spec-ppd.shtml b/filter/spec-ppd.shtml index 938bb87867..cf6b4331a9 100644 --- a/filter/spec-ppd.shtml +++ b/filter/spec-ppd.shtml @@ -1403,7 +1403,7 @@ hardware. The default value is false.

 *% Tell the RIP filters to generate the copies for us
-*cupsManualCopies: true
+*cupsManualCopies: True