From bd3f2308b40b28736bd0b0ca7b9383514427fa67 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 26 Mar 2010 17:00:07 +0000 Subject: [PATCH] Style, I guess. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33876 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/TextMetrics.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 19a71ffbb9..1aef414b7c 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -306,11 +306,8 @@ bool TextMetrics::isRTL(CursorSlice const & sl, bool boundary) const bool TextMetrics::isRTLBoundary(pit_type pit, pos_type pos) const { - if (!lyxrc.rtl_support) - return false; - // no RTL boundary at paragraph start - if (pos == 0) + if (!lyxrc.rtl_support || pos == 0) return false; Font const & left_font = displayFont(pit, pos - 1); -- 2.39.5