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:
Richard Heck 2009-08-06 12:44:06 +00:00
parent fcf0dfebd8
commit a2891daae3

View File

@ -191,11 +191,11 @@ public:
// 2. Description (lexicographic) // 2. Description (lexicographic)
LayoutFile const & tc1 = LayoutFileList::get()[lhs]; LayoutFile const & tc1 = LayoutFileList::get()[lhs];
LayoutFile const & tc2 = LayoutFileList::get()[rhs]; 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(tc1.description())),
translateIfPossible(from_utf8(tc2.description()))); translateIfPossible(from_utf8(tc2.description())));
return (tc1.isTeXClassAvailable() && !tc2.isTeXClassAvailable()) || return (tc1.isTeXClassAvailable() && !tc2.isTeXClassAvailable()) ||
(tc1.isTeXClassAvailable() == tc2.isTeXClassAvailable() && rel < 0); (tc1.isTeXClassAvailable() == tc2.isTeXClassAvailable() && order < 0);
} }
}; };