From: Jean-Marc Lasgouttes Date: Fri, 7 Sep 2007 10:04:10 +0000 (+0000) Subject: Small tweak to r20121 X-Git-Tag: 1.6.10~8455 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1a702924d41c1c3792efe2de60fd6255983eaac0;p=features.git Small tweak to r20121 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20122 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Text2.cpp b/src/Text2.cpp index d3025d1845..4b04512a10 100644 --- a/src/Text2.cpp +++ b/src/Text2.cpp @@ -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()) {