]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.cpp
Change string
[lyx.git] / src / insets / InsetFoot.cpp
index 0dc7aa66998066c69efda6fb531d65d24d1edca2..c40dc08d43fa196ec58c9325917344a4898f2c98 100644 (file)
@@ -52,7 +52,7 @@ void InsetFoot::updateLabels(ParIterator const & it)
        Counters & cnts = tclass.counters();
        docstring const foot = from_ascii("footnote");
        Paragraph const & outer =  it.paragraph();
-       if (!outer.layout()->intitle && cnts.hasCounter(foot)) {
+       if (!outer.layout().intitle && cnts.hasCounter(foot)) {
                cnts.step(foot);
                // FIXME: the counter should format itself.
                setLabel(support::bformat(from_ascii("%1$s %2$s"),