From ec74539c12885c1d3e39e54f5af9ad5e83791ff5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 28 Nov 1999 18:26:12 +0000 Subject: [PATCH] fixed MSVC++ (stupid) warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/m_hline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index 5a58178972..c4099f34a4 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -79,8 +79,8 @@ TAG_HANDLER_BEGIN(HR, "HR") c -> SetAlignHor(wxHTML_ALIGN_CENTER); c -> SetAlign(tag); c -> SetWidthFloat(tag); + sz = 1; if (tag.HasParam(wxT("SIZE")) && tag.ScanParam(wxT("SIZE"), wxT("%i"), &sz) == 1) {} - else sz = 1; c -> InsertCell(new wxHtmlLineCell(sz)); m_WParser -> CloseContainer(); -- 2.45.2