summaryrefslogtreecommitdiffstats
path: root/generic/tclStubInit.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-04 15:32:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-04 15:32:17 (GMT)
commit29be47f4511520e0e8efac664661d17195c8fea1 (patch)
tree5a04716bef3e6f774a44471d082b0aa937f44cbf /generic/tclStubInit.c
parent58bf5b79b7e9fa16903e3796a77e212afee94d31 (diff)
parentc47a86166324a3e2efe9359c431bb93f7519847c (diff)
downloadtcl-29be47f4511520e0e8efac664661d17195c8fea1.zip
tcl-29be47f4511520e0e8efac664661d17195c8fea1.tar.gz
tcl-29be47f4511520e0e8efac664661d17195c8fea1.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclStubInit.c')
-rw-r--r--generic/tclStubInit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 5d4c2ec..ae9b7c6 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -95,16 +95,16 @@ static void uniCodePanic(void) {
#define TclUtfPrev UtfPrev
static int TclUtfCharComplete(const char *src, int length) {
- if ((unsigned)((unsigned char)*(src) - 0xF0) < 5) {
- return length < 3;
- }
+ if ((unsigned)((unsigned char)*(src) - 0xF0) < 5) {
+ return length < 3;
+ }
return Tcl_UtfCharComplete(src, length);
}
static const char *TclUtfNext(const char *src) {
- if ((unsigned)((unsigned char)*(src) - 0xF0) < 5) {
- return src + 1;
- }
+ if ((unsigned)((unsigned char)*(src) - 0xF0) < 5) {
+ return src + 1;
+ }
return Tcl_UtfNext(src);
}