uninitialized variable
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 25 Apr 2005 14:19:03 +0000 (14:19 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 25 Apr 2005 14:19:03 +0000 (14:19 +0000)
lib/gdi/epng.cpp

index 8a4c3f4..9c12bb1 100644 (file)
@@ -111,6 +111,7 @@ int loadPNG(ePtr<gPixmap> &result, const char *filename)
                        surface->clut.data=0;
                        surface->clut.colors=0;
                }
+               surface->clut.start=0;
                png_read_end(png_ptr, end_info);
        } else
                result=0;