]> git.saurik.com Git - wxWidgets.git/commitdiff
Optimization
authorJulian Smart <julian@anthemion.co.uk>
Sat, 23 Dec 2006 15:54:59 +0000 (15:54 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 23 Dec 2006 15:54:59 +0000 (15:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtexthtml.cpp

index a24b6f9db82aa8129a5ad767f102a785588f0615..76ea00e815346fb057e9d49eb8f6714326ca0bd9 100644 (file)
@@ -224,7 +224,7 @@ void wxRichTextHTMLHandler::BeginParagraphFormatting(const wxTextAttrEx& WXUNUSE
         str << wxT("<table border=0 cellpadding=0 cellspacing=0><tr><td width=\"100%\">");
     }
 
-    if (thisStyle.HasLeftIndent())
+    if (thisStyle.HasLeftIndent() && thisStyle.GetLeftIndent() != 0)
     {
         if (thisStyle.HasBulletStyle())
         {