X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3919d5306a6d0059675c971e21ff770079030666..0739e2eef923040b51c664a22c7a6765fbd8a6f1:/src/html/htmlpars.cpp diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index b9ef2b9f76..b1da8c92df 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -491,7 +491,8 @@ wxString wxHtmlEntitiesParser::Parse(const wxString& input) { if (c - last > 0) output.append(last, c - last); - if (++c == wxT('\0')) break; + if ( *++c == wxT('\0') ) + break; wxString entity; const wxChar *ent_s = c;