diff --git a/modules/engines/pixbuf/ChangeLog b/modules/engines/pixbuf/ChangeLog index d98ef9689e..751dfdb9a4 100644 --- a/modules/engines/pixbuf/ChangeLog +++ b/modules/engines/pixbuf/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 28 15:34:43 2002 Owen Taylor + + * pixbuf-render.c (compute_hint): Fix hint computation + again. + Mon Jan 28 12:17:07 2002 Owen Taylor * pixbuf-render.c (compute_hint): Fix problems in computing diff --git a/modules/engines/pixbuf/pixbuf-render.c b/modules/engines/pixbuf/pixbuf-render.c index 8d4f41fc5b..a0dccdf170 100644 --- a/modules/engines/pixbuf/pixbuf-render.c +++ b/modules/engines/pixbuf/pixbuf-render.c @@ -336,13 +336,13 @@ compute_hint (GdkPixbuf *pixbuf, for (i = y0; i < y1; i++) { guchar *p = data + i * rowstride + x0 * n_channels; - guchar r = *(p++); - guchar g = *(p++); - guchar b = *(p++); + guchar r = p[0]; + guchar g = p[1]; + guchar b = p[2]; guchar a = 0; if (n_channels == 4) - a = *(p++); + a = p[3]; for (j = x0; j < x1 ; j++) {