[LyX/master] Fix indentation

Juergen Spitzmueller spitz at lyx.org
Mon Apr 6 14:09:17 UTC 2020


commit 2748e33be542862f94af4a131a17dde5ebc064b2
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Mon Apr 6 16:29:34 2020 +0200

    Fix indentation
---
 src/insets/InsetInclude.cpp |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp
index c4b2b3f..151f14f 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");


More information about the lyx-cvs mailing list