forked from AuroraMiddleware/gtk
Fix problems in computing MISSING hint.
Mon Jan 28 12:17:07 2002 Owen Taylor <otaylor@redhat.com> * pixbuf-render.c (compute_hint): Fix problems in computing MISSING hint.
This commit is contained in:
parent
eb83e73898
commit
929c8ed53e
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user