summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/engines/pixbuf/ChangeLog5
-rw-r--r--modules/engines/pixbuf/pixbuf-render.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/modules/engines/pixbuf/ChangeLog b/modules/engines/pixbuf/ChangeLog
index b1cc574825..d98ef9689e 100644
--- a/modules/engines/pixbuf/ChangeLog
+++ b/modules/engines/pixbuf/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jan 28 12:17:07 2002 Owen Taylor <otaylor@redhat.com>
+
+ * pixbuf-render.c (compute_hint): Fix problems in computing
+ MISSING hint.
+
Sun Jan 27 23:58:13 2002 Owen Taylor <otaylor@redhat.com>
* pixbuf-render.c (compute_hint): Optimize the case
diff --git a/modules/engines/pixbuf/pixbuf-render.c b/modules/engines/pixbuf/pixbuf-render.c
index d34632b236..8d4f41fc5b 100644
--- a/modules/engines/pixbuf/pixbuf-render.c
+++ b/modules/engines/pixbuf/pixbuf-render.c
@@ -344,9 +344,9 @@ compute_hint (GdkPixbuf *pixbuf,
if (n_channels == 4)
a = *(p++);
- for (j = x0 + 1; j < x1 ; j++)
+ for (j = x0; j < x1 ; j++)
{
- if (n_channels != 4 || p[4] != 0)
+ if (n_channels != 4 || p[3] != 0)
{
hints &= ~THEME_MISSING;
if (!(hints & THEME_CONSTANT_ROWS))