Browse Source

tags/2021-05-28
jules 18 years ago
parent
commit
db96b5a613
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/juce_appframework/gui/graphics/imaging/image_file_formats/juce_PNGLoader.cpp

+ 2
- 2
src/juce_appframework/gui/graphics/imaging/image_file_formats/juce_PNGLoader.cpp View File

@@ -135,7 +135,7 @@ Image* juce_loadPNGImageFromStream (InputStream& in) throw()
for (y = (int) height; --y >= 0;)
rows[y] = (png_bytep) (tempBuffer + (width << 2) * y);
bool crashed = true;
bool crashed = false;
try
{
@@ -144,7 +144,7 @@ Image* juce_loadPNGImageFromStream (InputStream& in) throw()
}
catch (...)
{
crashed = false;
crashed = true;
}
juce_free (rows);


Loading…
Cancel
Save