projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
removed incorrect param from docs
[wxWidgets.git]
/
src
/
html
/
htmlpars.cpp
diff --git
a/src/html/htmlpars.cpp
b/src/html/htmlpars.cpp
index 213bd0f75b7734fab090f11f11d609ee2ec4c652..65066aeddc54b8a27178075313072136eeefbc5f 100644
(file)
--- a/
src/html/htmlpars.cpp
+++ b/
src/html/htmlpars.cpp
@@
-72,6
+72,8
@@
void wxHtmlParser::DoneParser()
void wxHtmlParser::DoParsing(int begin_pos, int end_pos)
{
+ if (end_pos <= begin_pos) return;
+
char c;
char *temp = new char[end_pos - begin_pos + 1];
int i;