cairo-util: Fix another last-minute typo

dev
Kristian Høgsberg 13 years ago
parent 27d3866045
commit bf8bd5aa3a
  1. 2
      clients/cairo-util.c

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

Loading…
Cancel
Save