]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
making True case-insensitive and correcting documentation for existing clients. 106/head
authorsurajkulriya <surajkulriya@gmail.com>
Wed, 17 Feb 2021 16:24:04 +0000 (21:54 +0530)
committersurajkulriya <surajkulriya@gmail.com>
Wed, 17 Feb 2021 16:24:04 +0000 (21:54 +0530)
cups/ppd.c
doc/help/spec-ppd.html
filter/spec-ppd.shtml

index 1d92a21f3a8da786430ec8b0b75c1b219d285dc7..d6916b247409c76665bc1bb1968abdb80f6c074d 100644 (file)
@@ -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"))
index ee383fbe03911ebe661a078f3d10e0ed7092ad2e..5dbea496c55bd78012109822f170074d9c91a166 100644 (file)
@@ -1958,7 +1958,7 @@ hardware. The default value is <code>false</code>.</p>
 
 <pre class='command'>
 <em>*% Tell the RIP filters to generate the copies for us</em>
-*cupsManualCopies: true
+*cupsManualCopies: True
 </pre>
 
 
index 938bb87867271fa600be245316a7a823c08a2adf..cf6b4331a95ab5961e90a7a1cf211e58db339517 100644 (file)
@@ -1403,7 +1403,7 @@ hardware. The default value is <code>false</code>.</p>
 
 <pre class='command'>
 <em>*% Tell the RIP filters to generate the copies for us</em>
-*cupsManualCopies: true
+*cupsManualCopies: True
 </pre>