From aa097547e99f506c2d3b0ac4c00d01970744343f Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 7 Oct 2007 14:12:14 +0000 Subject: [PATCH] Corrected typo affecting outline level reading git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextxml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } -- 2.45.2