dont show toneburst(MiniDiSEqC) setting when no diseqc is used
[enigma2.git] / lib / gdi / epng.cpp
index 8a4c3f4cf35cdbe49abedd69b443103123653e4a..5b23757366f842202e7756664e79551b5fee9f16 100644 (file)
@@ -66,7 +66,7 @@ int loadPNG(ePtr<gPixmap> &result, const char *filename)
        
        png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 0, 0, 0);
        
        
        png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 0, 0, 0);
        
-       eDebug("%s: %dx%dx%d png, %d", filename, (int)width, (int)height, (int)bit_depth, color_type);
+//     eDebug("%s: %dx%dx%d png, %d", filename, (int)width, (int)height, (int)bit_depth, color_type);
        
        if (color_type != 6)
        {
        
        if (color_type != 6)
        {
@@ -111,6 +111,7 @@ int loadPNG(ePtr<gPixmap> &result, const char *filename)
                        surface->clut.data=0;
                        surface->clut.colors=0;
                }
                        surface->clut.data=0;
                        surface->clut.colors=0;
                }
+               surface->clut.start=0;
                png_read_end(png_ptr, end_info);
        } else
                result=0;
                png_read_end(png_ptr, end_info);
        } else
                result=0;