cairo-util: Fix another last-minute typo
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 20 Oct 2011 18:44:48 +0000 (14:44 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 20 Oct 2011 18:44:48 +0000 (14:44 -0400)
clients/cairo-util.c

index 502f4b8..61a053b 100644 (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));