Corrected typo affecting outline level reading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1205,7 +1205,7 @@ bool wxRichTextXMLHandler::GetStyle(wxTextAttrEx& attr, wxXmlNode* node, bool is
|
||||
value = node->GetPropVal(wxT("outlinelevel"), wxEmptyString);
|
||||
if (!value.IsEmpty())
|
||||
{
|
||||
attr.SetOutlineLevel(wxAtoi(value) != 0);
|
||||
attr.SetOutlineLevel(wxAtoi(value));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user