2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>

* text2.C (setCounter):  fixed enumeration mis-count as reported by
Dr. Richard Hawkins.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5066 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-08-22 07:46:47 +00:00
parent 1d2ac0e558
commit b9beccdc65
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
* text2.C (setCounter): fixed enumeration mis-count as reported by
Dr. Richard Hawkins.
2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com> 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
* paragraph_funcs.h: remove some unneeded includes * paragraph_funcs.h: remove some unneeded includes

View File

@ -1371,7 +1371,7 @@ void LyXText::setCounter(Buffer const * buf, Paragraph * par) const
// reset the enumeration counter. They are always resetted // reset the enumeration counter. They are always resetted
// when there is any other layout between // when there is any other layout between
for (int i = par->enumdepth + 1; i < 4; i++) { for (int i = par->enumdepth; i < 4; ++i) {
buf->counters().set(buf->counters().enums[i], 0); buf->counters().set(buf->counters().enums[i], 0);
} }
} }