From 4122d9ae4011024824f15a9d4f6d0ce5193edb3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Vigna?= Date: Mon, 9 Sep 2002 07:45:32 +0000 Subject: [PATCH] Fix for hfill rendering by Michael Schmitt. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5237 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/text.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 886f1c1ed5..8f9a4bdc47 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-09-09 Juergen Vigna + + * text.C (getColumnNearX): fix form Michael this is most + probably a cut&paste bug. + 2002-09-06 Lars Gullik Bjønnes * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code diff --git a/src/text.C b/src/text.C index 77820a2e12..097d595e1e 100644 --- a/src/text.C +++ b/src/text.C @@ -3788,7 +3788,7 @@ LyXText::getColumnNearX(BufferView * bview, Row * row, int & x, } if (hfillExpansion(bview->buffer(), row, c)) { - x += singleWidth(bview, row->par(), c); + tmpx += singleWidth(bview, row->par(), c); if (c >= main_body) tmpx += fill_hfill; else