]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
Take into account cell's own size, not only the
[wxWidgets.git] / src / html / htmlpars.cpp
index b9ef2b9f76984f1aa77cf4907da6c237fd227334..b1da8c92df2ccaf088f9f28d7259cdd891d49981 100644 (file)
@@ -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;