cairo-util: Fix another last-minute typo

This commit is contained in:
Kristian Høgsberg 2011-10-20 14:44:48 -04:00
parent 27d3866045
commit bf8bd5aa3a

View File

@ -322,7 +322,7 @@ load_jpeg(const char *filename)
}
while (cinfo.output_scanline < cinfo.output_height) {
for (i = 0; i < ARRAY_LENGTH(rows); i++, p += stride)
for (i = 0; i < ARRAY_LENGTH(rows); i++)
rows[i] = data + (cinfo.output_scanline + i) * stride;
jpeg_read_scanlines(&cinfo, rows, ARRAY_LENGTH(rows));