Skip to content

Commit acbe36d

Browse files
authored
raster: fix parsing PWG legacy media names (#656)
1 parent c3d2f07 commit acbe36d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cupsfilters/raster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ cupsRasterParseIPPOptions(cups_page_header2_t *h, /* I - Raster header */
176176
size_found = NULL;
177177
if ((size_found = pwgMediaForPWG(s)) == NULL)
178178
if ((size_found = pwgMediaForPPD(s)) == NULL)
179-
if ((size_found = pwgMediaForPPD(s)) == NULL)
179+
if ((size_found = pwgMediaForLegacy(s)) == NULL)
180180
{
181181
if (strcasestr(s, "tray") ||
182182
strcasestr(s, "feed") ||

0 commit comments

Comments
 (0)