From: Václav Slavík Date: Fri, 8 Oct 1999 15:24:58 +0000 (+0000) Subject: fixed bug in tables when border=0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2136a764e5537bdaef62439893b20de937b8935f fixed bug in tables when border=0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;