gfx/bitmaps/PNG: Fixed loading certain PNG types; Fixed image guess-loader to re...
[sdk] / ecere / src / gfx / Bitmap.ec
index 6fc8adf..fc0973e 100644 (file)
@@ -481,6 +481,7 @@ public:
 
          for(; typeToTry < NUM_TYPES_TO_TRY; typeToTry++)
          {
+            file.Seek(0, start);
             if(typeToTry >= 0)
                format = FindFormat(typesToTry[typeToTry]);