plugin api change: Plugins() and main functions must receive (and possibly ignore...
[enigma2.git] / lib / gdi / gpixmap.cpp
index e44ee0fa4997a67330ba17f4448b01930b91c0a8..3ebd9a0296f18f5f2c476ce458857bb64a3238c4 100644 (file)
@@ -310,7 +310,7 @@ void gPixmap::blit(const gPixmap &src, ePoint pos, const gRegion &clip, int flag
                                                // use duff's device here!
                                        while (width--)
                                        {
-                                               if (*src==0x01)
+                                               if (!(pal[*src]&0x80000000))
                                                {
                                                        src++;
                                                        dst++;