Small tweak to r20121

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20122 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-09-07 10:04:10 +00:00
parent 6e974a3d42
commit 1a702924d4

View File

@ -817,7 +817,7 @@ bool Text::deleteEmptyParagraphMechanism(Cursor & cur,
plist.erase(boost::next(plist.begin(), old.pit()));
// do not lose start of appendix marker (bug 4212)
if (soa)
boost::next(plist.begin(), old.pit())->params().startOfAppendix(true);
plist[old.pit()].params().startOfAppendix(true);
// see #warning (FIXME?) above
if (cur.depth() >= old.depth()) {