Corrected typo affecting outline level reading

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-10-07 14:12:14 +00:00
parent 797e38dde1
commit aa097547e9

View File

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