libcupsfilters: Use wildcard tag search in the PPD generator
@@ -2456,13 +2456,13 @@ cfCreatePPDFromIPP2(char *buffer, /* I - Filename buffer */
*/
if ((attr = ippFindAttribute(ippGetCollection(defattr, 0), "media-type",
- IPP_TAG_KEYWORD)) != NULL)
+ IPP_TAG_ZERO)) != NULL)
ppdPwgPpdizeName(ippGetString(attr, 0, NULL), ppdname, sizeof(ppdname));
else
strlcpy(ppdname, "Unknown", sizeof(ppdname));
if ((attr = ippFindAttribute(response, "media-type-supported",
- IPP_TAG_KEYWORD)) != NULL &&
+ IPP_TAG_ZERO)) != NULL &&
(count = ippGetCount(attr)) > 1) {
human_readable = lookup_option("media-type", opt_strings_catalog,
printer_opt_strings_catalog);
