blob: 5c2ac1500017ddb16b6dcfb58c63b2fb35bfc0fa [file]
Correct calculation of remaining lines once there
are fewer than CUPS_READ_LINE left.
See b/410000713
--- a/src/wrapper.c
+++ b/src/wrapper.c
@@ -430,7 +430,7 @@
}
total_read += readpixels;
- left_lines -= CUPS_READ_LINE;
+ left_lines -= cups_read_lines;
}//while (pixel data)