X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69941f05864fa8b37856ccc1338124bfac756a2b..89be8239db1ae24f501ac68c5bcff3e5ca2efa84:/src/html/m_tables.cpp diff --git a/src/html/m_tables.cpp b/src/html/m_tables.cpp index a93a089c9a..007a09dedb 100644 --- a/src/html/m_tables.cpp +++ b/src/html/m_tables.cpp @@ -113,7 +113,7 @@ class wxHtmlTableCell : public wxHtmlContainerCell wxHtmlTableCell::wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& tag) : wxHtmlContainerCell(parent) { - m_HasBorders = tag.HasParam("BORDER"); + m_HasBorders = (tag.HasParam("BORDER") && tag.GetParam("BORDER") != "0"); m_ColsInfo = NULL; m_NumCols = m_NumRows = 0; m_CellInfo = NULL;