enable some non-rtl optimization

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20021 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2007-09-03 13:34:26 +00:00
parent f3870fccc0
commit 3b6eb864d5

View File

@ -261,7 +261,7 @@ Font TextMetrics::getDisplayFont(pit_type pit, pos_type pos) const
bool TextMetrics::isRTL(CursorSlice const & sl, bool boundary) const bool TextMetrics::isRTL(CursorSlice const & sl, bool boundary) const
{ {
if (!lyxrc.rtl_support && !sl.text()) if (!lyxrc.rtl_support || !sl.text())
return false; return false;
int correction = 0; int correction = 0;