yet another fix in wxHtmlParser::DoParsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,6 +72,8 @@ void wxHtmlParser::DoneParser()
|
|||||||
|
|
||||||
void wxHtmlParser::DoParsing(int begin_pos, int end_pos)
|
void wxHtmlParser::DoParsing(int begin_pos, int end_pos)
|
||||||
{
|
{
|
||||||
|
if (end_pos <= begin_pos) return;
|
||||||
|
|
||||||
char c;
|
char c;
|
||||||
char *temp = new char[end_pos - begin_pos + 1];
|
char *temp = new char[end_pos - begin_pos + 1];
|
||||||
int i;
|
int i;
|
||||||
|
Reference in New Issue
Block a user