mercurial/cext/charencode.c
changeset 34439 88e83a618de0
parent 34030 e97be042fa1b
child 34860 d0912876d7a7
--- a/mercurial/cext/charencode.c	Mon Oct 02 19:06:00 2017 +0100
+++ b/mercurial/cext/charencode.c	Mon Oct 02 19:09:52 2017 +0100
@@ -319,13 +319,20 @@
 static char jsonescapechar2(char c)
 {
 	switch (c) {
-	case '\b': return 'b';
-	case '\t': return 't';
-	case '\n': return 'n';
-	case '\f': return 'f';
-	case '\r': return 'r';
-	case '"':  return '"';
-	case '\\': return '\\';
+	case '\b':
+		return 'b';
+	case '\t':
+		return 't';
+	case '\n':
+		return 'n';
+	case '\f':
+		return 'f';
+	case '\r':
+		return 'r';
+	case '"':
+		return '"';
+	case '\\':
+		return '\\';
 	}
 	return '\0';  /* should not happen */
 }