]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected typo affecting outline level reading
authorJulian Smart <julian@anthemion.co.uk>
Sun, 7 Oct 2007 14:12:14 +0000 (14:12 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 7 Oct 2007 14:12:14 +0000 (14:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextxml.cpp

index b2ebd5e3cb79edf726b3230541297db3e8374e3c..a10247542e1aa853265f1c458ff514bba71ba8dd 100644 (file)
@@ -1206,7 +1206,7 @@ bool wxRichTextXMLHandler::GetStyle(wxTextAttrEx& attr, wxXmlNode* node, bool is
         value = node->GetAttribute(wxT("outlinelevel"), wxEmptyString);
         if (!value.IsEmpty())
         {
-            attr.SetOutlineLevel(wxAtoi(value) != 0);
+            attr.SetOutlineLevel(wxAtoi(value));
         }
     }