From bf8bd5aa3af224121490eada4a224c00d6a1951d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 20 Oct 2011 14:44:48 -0400 Subject: [PATCH] cairo-util: Fix another last-minute typo --- clients/cairo-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/cairo-util.c b/clients/cairo-util.c index 502f4b88..61a053b3 100644 --- a/clients/cairo-util.c +++ b/clients/cairo-util.c @@ -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));