Backport fix for #7764.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40098 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-10-30 19:48:17 +00:00
parent 916dc97c08
commit 8416cc3307

View File

@ -79,11 +79,7 @@ private:
bool operator<(Format const & a, Format const & b) bool operator<(Format const & a, Format const & b)
{ {
// use the compare_ascii_no_case instead of compare_no_case, return _(a.prettyname()) < _(b.prettyname());
// because in turkish, 'i' is not the lowercase version of 'I',
// and thus turkish locale breaks parsing of tags.
return compare_ascii_no_case(a.prettyname(), b.prettyname()) < 0;
} }