Fixed bug introduced by compiler compatibility fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3409,7 +3409,7 @@ bool wxRichTextBuffer::BeginStyle(const wxTextAttrEx& style)
|
||||
/// End the style
|
||||
bool wxRichTextBuffer::EndStyle()
|
||||
{
|
||||
if (m_attributeStack.GetFirst())
|
||||
if (!m_attributeStack.GetFirst())
|
||||
{
|
||||
wxLogDebug(_("Too many EndStyle calls!"));
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user