]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
ppd-cache.c: Fix IPP tag for pwg-raster-document-resolution-supported
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 15 Jan 2025 12:17:29 +0000 (13:17 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Wed, 15 Jan 2025 12:17:29 +0000 (13:17 +0100)
resolution-supported has IPP_TAG_RESOLUTION

cups/ppd-cache.c

index 1a918257b8e12ccfe59d758de554321f2a98bba9..155efa1bede8504a2781c97214d4ce709dfdaf28 100644 (file)
@@ -3510,7 +3510,7 @@ _ppdCreateFromIPP(char   *buffer, /* I - Filename buffer */
     is_apple = ippContainsString(attr, "image/urf") && (ippFindAttribute(supported, "urf-supported", IPP_TAG_KEYWORD) != NULL);
     is_pdf   = ippContainsString(attr, "application/pdf");
     is_pwg   = ippContainsString(attr, "image/pwg-raster") && !is_apple &&
-              (ippFindAttribute(supported, "pwg-raster-document-resolution-supported", IPP_TAG_KEYWORD) != NULL) &&
+              (ippFindAttribute(supported, "pwg-raster-document-resolution-supported", IPP_TAG_RESOLUTION) != NULL) &&
               (ippFindAttribute(supported, "pwg-raster-document-type-supported", IPP_TAG_KEYWORD) != NULL);
 
     if (ippContainsString(attr, "image/jpeg"))