mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-27 19:40:10 +00:00
optimization: avoid checking fonts if lyxrc.rtl_support is false
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20124 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
99dbbcfa3f
commit
80af79b747
@ -294,7 +294,7 @@ bool Text::isRTL(Buffer const & buffer, Paragraph const & par) const
|
||||
|
||||
bool Text::isRTL(Buffer const & buffer, CursorSlice const & sl, bool boundary) const
|
||||
{
|
||||
if (!lyxrc.rtl_support && !sl.text())
|
||||
if (!lyxrc.rtl_support || !sl.text())
|
||||
return false;
|
||||
|
||||
int correction = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user