]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove pointless case insensitivity
authorJulian Smart <julian@anthemion.co.uk>
Tue, 20 Sep 2011 20:03:42 +0000 (20:03 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 20 Sep 2011 20:03:42 +0000 (20:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextstyles.cpp

index c0cc55761f741c5c655a2e6a3955681f541550dd..ef62442eaf5a6ec6616c6294f9f03e0b02675d48 100644 (file)
@@ -357,7 +357,7 @@ wxRichTextStyleDefinition* wxRichTextStyleSheet::FindStyle(const wxList& list, c
     for (wxList::compatibility_iterator node = list.GetFirst(); node; node = node->GetNext())
     {
         wxRichTextStyleDefinition* def = (wxRichTextStyleDefinition*) node->GetData();
-        if (def->GetName().Lower() == name.Lower())
+        if (def->GetName() == name)
             return def;
     }