]> git.lyx.org Git - features.git/commitdiff
FIXME for Andr�
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 13 Feb 2005 14:53:47 +0000 (14:53 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 13 Feb 2005 14:53:47 +0000 (14:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9618 a592a061-630c-0410-9148-cb99ea01b6c8

src/text2.C

index 5f2b91d77f2453524276ec76364b41963b26a788..f515328c4b7641cc318fd9fcf96d76b53f5eb70a 100644 (file)
@@ -791,6 +791,7 @@ void LyXText::setCounter(Buffer const & buf, pit_type pit)
                        bool isOK = false;
                        while (tmppit != end) {
                                in = pars_[tmppit].inInset();
+                               // FIXME: in should be always valid.
                                if (in &&
                                    (in->lyxCode() == InsetBase::FLOAT_CODE ||
                                     in->lyxCode() == InsetBase::WRAP_CODE)) {