From 7947a11dad9dcc3fcab32f0d8dcd1aad7748b218 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 23 Dec 2006 15:54:59 +0000 Subject: [PATCH] Optimization git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtexthtml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtexthtml.cpp b/src/richtext/richtexthtml.cpp index a24b6f9db8..76ea00e815 100644 --- a/src/richtext/richtexthtml.cpp +++ b/src/richtext/richtexthtml.cpp @@ -224,7 +224,7 @@ void wxRichTextHTMLHandler::BeginParagraphFormatting(const wxTextAttrEx& WXUNUSE str << wxT("
"); } - if (thisStyle.HasLeftIndent()) + if (thisStyle.HasLeftIndent() && thisStyle.GetLeftIndent() != 0) { if (thisStyle.HasBulletStyle()) { -- 2.45.2