[LyX/master] Fix switch indentation.

Thibaut Cuvelier tcuvelier at lyx.org
Sat Sep 28 14:50:59 UTC 2024


commit a06528ee2a21b23b798d9972fd2dae1711fc51e8
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Sat Sep 28 16:40:36 2024 +0200

    Fix switch indentation.
---
 src/mathed/InsetMathChar.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp
index 82d0b63f1e..ebc1644af5 100644
--- a/src/mathed/InsetMathChar.cpp
+++ b/src/mathed/InsetMathChar.cpp
@@ -236,14 +236,14 @@ void InsetMathChar::mathmlize(MathMLStream & ms) const
 {
 	std::string entity;
 	switch (char_) {
-		case '<': entity = "<"; break;
-		case '>': entity = ">"; break;
-		case '&': entity = "&"; break;
-		case ' ': {
-			ms << from_ascii(" ");
-			return;
-		}
-		default: break;
+	case '<': entity = "<"; break;
+	case '>': entity = ">"; break;
+	case '&': entity = "&"; break;
+	case ' ': {
+		ms << from_ascii(" ");
+		return;
+	}
+	default: break;
 	}
 
 	if (ms.inText()) {


More information about the lyx-cvs mailing list