diff --git a/cups/ppd.c b/cups/ppd.c index 5bd839d..8276988 100644 --- a/cups/ppd.c +++ b/cups/ppd.c @@ -2996,7 +2996,7 @@ ppd_read(cups_file_t *fp, /* I - File to read from */ *lineptr++ = (char)ch; col ++; - if (col > (PPD_MAX_LINE - 1)) + if (col > (PPD_MAX_LINE - 1) && pg->ppd_conform == PPD_CONFORM_STRICT) { /* * Line is too long... @@ -3057,7 +3057,7 @@ ppd_read(cups_file_t *fp, /* I - File to read from */ { col ++; - if (col > (PPD_MAX_LINE - 1)) + if (col > (PPD_MAX_LINE - 1) && pg->ppd_conform == PPD_CONFORM_STRICT) { /* * Line is too long... @@ -3116,7 +3116,7 @@ ppd_read(cups_file_t *fp, /* I - File to read from */ { col ++; - if (col > (PPD_MAX_LINE - 1)) + if (col > (PPD_MAX_LINE - 1) && pg->ppd_conform == PPD_CONFORM_STRICT) { /* * Line is too long...