Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -108,9 +108,9 @@ size_t wxZipInputStream::OnSysRead(void *buffer, size_t bufsize)
|
||||
|
||||
off_t wxZipInputStream::OnSysSeek(off_t seek, wxSeekMode mode)
|
||||
{
|
||||
// NB: since ZIP files don't natively support seeking, we have to
|
||||
// NB: since ZIP files don't natively support seeking, we have to
|
||||
// implement a brute force workaround -- reading all the data
|
||||
// between current and the new position (or between beginning of
|
||||
// between current and the new position (or between beginning of
|
||||
// the file and new position...)
|
||||
|
||||
off_t nextpos;
|
||||
@@ -138,7 +138,7 @@ off_t wxZipInputStream::OnSysSeek(off_t seek, wxSeekMode mode)
|
||||
}
|
||||
toskip = nextpos;
|
||||
}
|
||||
|
||||
|
||||
if ( toskip > 0 )
|
||||
{
|
||||
const size_t BUFSIZE = 4096;
|
||||
|
Reference in New Issue
Block a user