]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed bug introduced by compiler compatibility fix
authorJulian Smart <julian@anthemion.co.uk>
Sun, 18 Dec 2005 12:25:21 +0000 (12:25 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 18 Dec 2005 12:25:21 +0000 (12:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextbuffer.cpp

index e3b2ab5d58599ab0bff4c0e6c84e715574cd4b80..81dbf40eed5036541fb176ac61c8c9586b85fd34 100644 (file)
@@ -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;