wxHTML compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-07-24 22:44:22 +00:00
parent 3bcf00abd7
commit 259d1674f2
7 changed files with 19 additions and 17 deletions

View File

@@ -50,7 +50,7 @@ bool wxSearchEngine::Scan(wxInputStream *stream)
wxASSERT_MSG(m_Keyword != NULL, _("wxSearchEngine::LookFor must be called before scanning!"));
int i, j;
int lng = stream -> StreamSize();
int lng = stream ->GetSize();
int wrd = strlen(m_Keyword);
bool found = FALSE;
char *buf = (char*) malloc(lng + 1);