Case-insensitive sorting of colors in GuiPrefs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27995 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-01-05 13:37:46 +00:00
parent 92a95aab41
commit 7b659b4ecd

View File

@ -757,7 +757,8 @@ namespace {
struct ColorSorter
{
bool operator()(ColorCode lhs, ColorCode rhs) const {
return lcolor.getGUIName(lhs) < lcolor.getGUIName(rhs);
return
compare_no_case(lcolor.getGUIName(lhs), lcolor.getGUIName(rhs)) < 0;
}
};