From 5d47feed3a5caed6d47bc2cc5ea9054d2e3c271e Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 6 Apr 2020 16:29:34 +0200 Subject: [PATCH] Fix indentation --- src/insets/InsetInclude.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index c4b2b3f145..151f14fe5a 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -410,10 +410,10 @@ docstring InsetInclude::screenLabel() const temp = buffer().B_("Input"); break; case VERB: - temp = buffer().B_("Verbatim"); + temp = buffer().B_("Verbatim"); break; case VERBAST: - temp = buffer().B_("Verbatim*"); + temp = buffer().B_("Verbatim*"); break; case INCLUDE: if (isChildIncluded()) @@ -1318,12 +1318,12 @@ void InsetInclude::addToToc(DocIterator const & cpit, bool output_active, b.pushItem(cpit, screenLabel(), output_active); InsetListingsParams p(to_utf8(params()["lstparams"])); b.argumentItem(from_utf8(p.getParamValue("caption"))); - b.pop(); - } else if (isVerbatim(params())) { - TocBuilder & b = backend.builder("child"); - b.pushItem(cpit, screenLabel(), output_active); - b.pop(); - } else { + b.pop(); + } else if (isVerbatim(params())) { + TocBuilder & b = backend.builder("child"); + b.pushItem(cpit, screenLabel(), output_active); + b.pop(); + } else { Buffer const * const childbuffer = getChildBuffer(); TocBuilder & b = backend.builder("child"); -- 2.39.5