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:
@ -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>
|
Sun Jan 27 23:58:13 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* pixbuf-render.c (compute_hint): Optimize the case
|
* pixbuf-render.c (compute_hint): Optimize the case
|
||||||
|
|||||||
@ -344,9 +344,9 @@ compute_hint (GdkPixbuf *pixbuf,
|
|||||||
if (n_channels == 4)
|
if (n_channels == 4)
|
||||||
a = *(p++);
|
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;
|
hints &= ~THEME_MISSING;
|
||||||
if (!(hints & THEME_CONSTANT_ROWS))
|
if (!(hints & THEME_CONSTANT_ROWS))
|
||||||
|
|||||||
Reference in New Issue
Block a user