From d7e2a8a4ecd5e1c0152e4a33fd1455b4a0aa7d52 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 6 Sep 2018 09:34:47 +0100 Subject: [PATCH] Fixed a bug in GZIPDecompressorInputStream::isExhausted() --- modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp b/modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp index 610b10e341..8b166d8ce3 100644 --- a/modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp +++ b/modules/juce_core/zip/juce_GZIPDecompressorInputStream.cpp @@ -270,7 +270,7 @@ int GZIPDecompressorInputStream::read (void* destBuffer, int howMany) bool GZIPDecompressorInputStream::isExhausted() { - return helper->error || isEof; + return helper->error || helper->finished || isEof; } int64 GZIPDecompressorInputStream::getPosition()