From ac81afab4fc765d007215a6c20a8cce7e3e02cca Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 18 Aug 2025 11:49:57 +0000 Subject: Fixed inconsistent indenting, introduced [0433b67adc|here]. See also [87b69745be] --- generic/tclEncoding.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index d3914da..43566ce 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -988,21 +988,21 @@ Tcl_SetSystemEncoding( Tcl_MutexLock(&encodingMutex); if (name == NULL || name[0] == '\0') { - if (defaultEncoding == systemEncoding) { - Tcl_MutexUnlock(&encodingMutex); - return TCL_OK; - } - encoding = defaultEncoding; - ((Encoding *)encoding)->refCount += 1; + if (defaultEncoding == systemEncoding) { + Tcl_MutexUnlock(&encodingMutex); + return TCL_OK; + } + encoding = defaultEncoding; + ((Encoding *)encoding)->refCount += 1; } else { encoding = Tcl_GetEncoding(interp, name); - if (encoding == systemEncoding) { - FreeEncoding(encoding); - Tcl_MutexUnlock(&encodingMutex); - return TCL_OK; - } + if (encoding == systemEncoding) { + FreeEncoding(encoding); + Tcl_MutexUnlock(&encodingMutex); + return TCL_OK; + } if (encoding == NULL) { - Tcl_MutexUnlock(&encodingMutex); + Tcl_MutexUnlock(&encodingMutex); return TCL_ERROR; } } -- cgit v0.12