]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zstream.cpp
better surviving 0 width / height bitmap sizes
[wxWidgets.git] / src / common / zstream.cpp
index 57bed6a6a35e7cb58560fcc61c1f23e41408e0e7..13b29c178266c45d911dca6eb0049d5a2440f7ca 100644 (file)
@@ -224,7 +224,9 @@ size_t wxZlibInputStream::OnSysRead(void *buffer, size_t size)
       // by the parent strean,
       m_lasterror = wxSTREAM_READ_ERROR;
       if (m_parent_i_stream->Eof())
+      {
           wxLogError(_("Can't read inflate stream: unexpected EOF in underlying stream."));
+      }
       break;
 
     default: