mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-06 04:00:08 +00:00
This commit is contained in:
parent
59b8777270
commit
db96b5a613
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue