Author: rgheck
Date: Sun Oct 30 20:48:17 2011
New Revision: 40098
URL: http://www.lyx.org/trac/changeset/40098

Log:
Backport fix for #7764.

Modified:
   lyx-devel/branches/BRANCH_2_0_X/src/Format.cpp

Modified: lyx-devel/branches/BRANCH_2_0_X/src/Format.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/Format.cpp      Sun Oct 30 19:51:41 
2011        (r40097)
+++ lyx-devel/branches/BRANCH_2_0_X/src/Format.cpp      Sun Oct 30 20:48:17 
2011        (r40098)
@@ -79,11 +79,7 @@
 
 bool operator<(Format const & a, Format const & b)
 {
-       // use the compare_ascii_no_case instead of compare_no_case,
-       // 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;
+       return _(a.prettyname()) < _(b.prettyname());
 }
 
 

Reply via email to