From 8416cc3307073a6a934015ee1890bb80f2bb80e7 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 30 Oct 2011 19:48:17 +0000 Subject: [PATCH] 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 --- src/Format.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Format.cpp b/src/Format.cpp index cd2d238dc8..d8cfe50b6a 100644 --- a/src/Format.cpp +++ b/src/Format.cpp @@ -79,11 +79,7 @@ private: 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()); } -- 2.39.5