]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/archive/archivetest.cpp
It was not possible to set value of unspecified child by editing parent's composite...
[wxWidgets.git] / tests / archive / archivetest.cpp
index dc5caa473eb9ecce2d1a941336cc73fc453004c1..0885346bfea28a4104c68113b949dbfdd1310685 100644 (file)
@@ -269,10 +269,12 @@ size_t TestInputStream::OnSysRead(void *buffer, size_t size)
     }
 
     if (((m_eoftype & AtLast) != 0 && m_pos >= m_size) || count < size)
+    {
         if ((m_eoftype & WithError) != 0)
             m_lasterror = wxSTREAM_READ_ERROR;
         else
             m_lasterror = wxSTREAM_EOF;
+    }
 
     return count;
 }