mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
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:
parent
1d2ac0e558
commit
b9beccdc65
@ -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>
|
||||
|
||||
* paragraph_funcs.h: remove some unneeded includes
|
||||
|
@ -1371,7 +1371,7 @@ void LyXText::setCounter(Buffer const * buf, Paragraph * par) const
|
||||
|
||||
// reset the enumeration counter. They are always resetted
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user