Remove pointless case insensitivity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -357,7 +357,7 @@ wxRichTextStyleDefinition* wxRichTextStyleSheet::FindStyle(const wxList& list, c
|
|||||||
for (wxList::compatibility_iterator node = list.GetFirst(); node; node = node->GetNext())
|
for (wxList::compatibility_iterator node = list.GetFirst(); node; node = node->GetNext())
|
||||||
{
|
{
|
||||||
wxRichTextStyleDefinition* def = (wxRichTextStyleDefinition*) node->GetData();
|
wxRichTextStyleDefinition* def = (wxRichTextStyleDefinition*) node->GetData();
|
||||||
if (def->GetName().Lower() == name.Lower())
|
if (def->GetName() == name)
|
||||||
return def;
|
return def;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user