mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Better name for variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30874 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fcf0dfebd8
commit
a2891daae3
@ -191,11 +191,11 @@ public:
|
||||
// 2. Description (lexicographic)
|
||||
LayoutFile const & tc1 = LayoutFileList::get()[lhs];
|
||||
LayoutFile const & tc2 = LayoutFileList::get()[rhs];
|
||||
int const rel = compare_no_case(
|
||||
int const order = compare_no_case(
|
||||
translateIfPossible(from_utf8(tc1.description())),
|
||||
translateIfPossible(from_utf8(tc2.description())));
|
||||
return (tc1.isTeXClassAvailable() && !tc2.isTeXClassAvailable()) ||
|
||||
(tc1.isTeXClassAvailable() == tc2.isTeXClassAvailable() && rel < 0);
|
||||
(tc1.isTeXClassAvailable() == tc2.isTeXClassAvailable() && order < 0);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user