changeset 17502:f0784efe2791

merge of '23b5f2825727da3309ef5ffae7a0ea85ac4ae05b' and '6257674a7473110dad75a72a347124b9767534f6'
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 05 Jun 2007 21:46:27 +0000
parents bca2780f7669 (current diff) 3aafa9d3119c (diff)
children ba71c53186e9
files libpurple/protocols/bonjour/dns_sd.c libpurple/protocols/bonjour/dns_sd.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Tue Jun 05 21:32:28 2007 +0000
+++ b/pidgin/gtkutils.c	Tue Jun 05 21:46:27 2007 +0000
@@ -3034,20 +3034,20 @@
 
         row = pixels;
         for (i = 3; i < rowstride; i+=4) {
-                if (row[i] != 0xff)
+                if (row[i] < 0xfe)
                         return FALSE;
         }
 
         for (i = 1; i < height - 1; i++) {
                 row = pixels + (i*rowstride);
-                if (row[3] != 0xff || row[rowstride-1] != 0xff) {
+                if (row[3] < 0xfe || row[rowstride-1] < 0xfe) {
                         return FALSE;
-                }
+            }
         }
 
         row = pixels + ((height-1) * rowstride);
         for (i = 3; i < rowstride; i+=4) {
-                if (row[i] != 0xff)
+                if (row[i] < 0xfe)
                         return FALSE;
         }