From 2136a764e5537bdaef62439893b20de937b8935f Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 8 Oct 1999 15:24:58 +0000 Subject: [PATCH] fixed bug in tables when border=0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/m_tables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2