HTML_xxxx constants changed to wxHTML_xxxx (with backward compatibility through WXWIN_COMPATIBILITY_2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,11 +69,11 @@ void wxHtmlParser::DoneParser()
|
||||
|
||||
|
||||
|
||||
#define HTML_MAX_BUFLEN 1024
|
||||
#define wxHTML_MAX_BUFLEN 1024
|
||||
|
||||
void wxHtmlParser::DoParsing(int begin_pos, int end_pos)
|
||||
{
|
||||
char temp[HTML_BUFLEN], c;
|
||||
char temp[wxHTML_BUFLEN], c;
|
||||
int i;
|
||||
int templen;
|
||||
|
||||
@@ -86,7 +86,7 @@ void wxHtmlParser::DoParsing(int begin_pos, int end_pos)
|
||||
// continue building word:
|
||||
if (c != '<') {
|
||||
temp[templen++] = c;
|
||||
if (templen == HTML_BUFLEN-1) {
|
||||
if (templen == wxHTML_BUFLEN-1) {
|
||||
temp[templen] = 0;
|
||||
AddText(temp);
|
||||
templen = 0;
|
||||
|
Reference in New Issue
Block a user