From ddb689a429c948cf063450c92be3d84d7e82248d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 21 Oct 2003 16:19:05 +0000 Subject: [PATCH] ChangeLog & re-add the {} for "long" blocks.. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7943 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 17 +++++++++++++++++ src/lyxrow_funcs.C | 6 ++++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index c2e7649ee1..6cbb3deb1a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,20 @@ + +2003-10-21 André Pönitz + + * FuncStatus.[Ch]: small stuff, whitespace + + * lyxfont.[Ch]: operator<<() for debug reasons + + * lyxfunc.C: + * lyxrow_funcs.C: + * lyxtext.h: whitespace, spelling + + * paragraph.C: naming of variables + + * text.C: + * text2.C: small stuff + + 2003-10-21 Martin Vermeer * text.C: (1) finish off the inset display() work; diff --git a/src/lyxrow_funcs.C b/src/lyxrow_funcs.C index 035aba648a..e7af3d086f 100644 --- a/src/lyxrow_funcs.C +++ b/src/lyxrow_funcs.C @@ -61,9 +61,10 @@ int numberOfHfills(Paragraph const & par, Row const & row) pos_type first = row.pos(); // hfill *DO* count at the beginning of paragraphs! - if (first) + if (first) { while (first < last && par.isHfill(first)) ++first; + } first = max(first, par.beginningOfBody()); @@ -87,9 +88,10 @@ int numberOfLabelHfills(Paragraph const & par, Row const & row) pos_type first = row.pos(); // hfill *DO* count at the beginning of paragraphs! - if (first) + if (first) { while (first < last && par.isHfill(first)) ++first; + } last = min(last, par.beginningOfBody()); int n = 0;