From: Julian Smart Date: Sun, 7 Oct 2007 14:12:14 +0000 (+0000) Subject: Corrected typo affecting outline level reading X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aa097547e99f506c2d3b0ac4c00d01970744343f Corrected typo affecting outline level reading git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/richtext/richtextxml.cpp b/src/richtext/richtextxml.cpp index b2ebd5e3cb..a10247542e 100644 --- a/src/richtext/richtextxml.cpp +++ b/src/richtext/richtextxml.cpp @@ -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)); } }