projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added -w-inl to CFG section to suppress the annoying messages about event and radiobo...
[wxWidgets.git]
/
src
/
common
/
zipstrm.cpp
diff --git
a/src/common/zipstrm.cpp
b/src/common/zipstrm.cpp
index 9fbff10320fe87b1ee1456ae455a498a6af82d31..1ed942c0eac984ac65d2c023bd7642ec2703676a 100644
(file)
--- a/
src/common/zipstrm.cpp
+++ b/
src/common/zipstrm.cpp
@@
-43,12
+43,12
@@
wxZipInputStream::wxZipInputStream(const wxString& archive, const wxString& file
m_Archive = (void*) unzOpen(archive.mb_str());
if (m_Archive == NULL)
{
m_Archive = (void*) unzOpen(archive.mb_str());
if (m_Archive == NULL)
{
- m_lasterror = wxS
tream_READ_ER
R;
+ m_lasterror = wxS
TREAM_READ_ERRO
R;
return;
}
if (unzLocateFile((unzFile)m_Archive, file.mb_str(), 0) != UNZ_OK)
{
return;
}
if (unzLocateFile((unzFile)m_Archive, file.mb_str(), 0) != UNZ_OK)
{
- m_lasterror = wxS
tream_READ_ER
R;
+ m_lasterror = wxS
TREAM_READ_ERRO
R;
return;
}
return;
}
@@
-56,7
+56,7
@@
wxZipInputStream::wxZipInputStream(const wxString& archive, const wxString& file
if (unzOpenCurrentFile((unzFile)m_Archive) != UNZ_OK)
{
if (unzOpenCurrentFile((unzFile)m_Archive) != UNZ_OK)
{
- m_lasterror = wxS
tream_READ_ER
R;
+ m_lasterror = wxS
TREAM_READ_ERRO
R;
return;
}
m_Size = (size_t)zinfo.uncompressed_size;
return;
}
m_Size = (size_t)zinfo.uncompressed_size;
@@
-90,7
+90,7
@@
size_t wxZipInputStream::OnSysRead(void *buffer, size_t bufsize)
if ( m_Pos >= (off_t)m_Size )
{
if ( m_Pos >= (off_t)m_Size )
{
- m_lasterror = wxS
tream
_EOF;
+ m_lasterror = wxS
TREAM
_EOF;
return 0;
}
return 0;
}
@@
-132,7
+132,7
@@
off_t wxZipInputStream::OnSysSeek(off_t seek, wxSeekMode mode)
unzCloseCurrentFile((unzFile)m_Archive);
if (unzOpenCurrentFile((unzFile)m_Archive) != UNZ_OK)
{
unzCloseCurrentFile((unzFile)m_Archive);
if (unzOpenCurrentFile((unzFile)m_Archive) != UNZ_OK)
{
- m_lasterror = wxS
tream_READ_ER
R;
+ m_lasterror = wxS
TREAM_READ_ERRO
R;
return m_Pos;
}
toskip = nextpos;
return m_Pos;
}
toskip = nextpos;