From: Uwe Stöhr Date: Sat, 11 Jul 2009 11:30:41 +0000 (+0000) Subject: TextMetrics.cpp: fix bug that AlignRight were aligned like Inline X-Git-Tag: 2.0.0~6093 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=48dd95812d975515c66f6d2a41a78908e8d27cc4;p=features.git TextMetrics.cpp: fix bug that AlignRight were aligned like Inline git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30474 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/TextMetrics.cpp b/src/TextMetrics.cpp index 4a75da54b8..c17bf2180a 100644 --- a/src/TextMetrics.cpp +++ b/src/TextMetrics.cpp @@ -571,9 +571,11 @@ void TextMetrics::computeRowMetrics(pit_type const pit, align = LYX_ALIGN_CENTER; break; case Inset::Inline: - case Inset::AlignRight: // unchanged (use align) break; + case Inset::AlignRight: + align = LYX_ALIGN_RIGHT; + break; } }