diff options
Diffstat (limited to 'generic/tclUtf.c')
| -rw-r--r-- | generic/tclUtf.c | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/generic/tclUtf.c b/generic/tclUtf.c index 82adf65..87216c2 100644 --- a/generic/tclUtf.c +++ b/generic/tclUtf.c @@ -495,8 +495,7 @@ Tcl_UtfToUniChar(  	 * A three-byte-character lead-byte not followed by two trail-bytes  	 * represents itself.  	 */ -    } -    else if (byte < 0xF5) { +    } else if (byte < 0xF5) {  	if (((src[1] & 0xC0) == 0x80) && ((src[2] & 0xC0) == 0x80) && ((src[3] & 0xC0) == 0x80)) {  	    /*  	     * Four-byte-character lead byte followed by three trail bytes. @@ -591,8 +590,7 @@ Tcl_UtfToChar16(  	 * A three-byte-character lead-byte not followed by two trail-bytes  	 * represents itself.  	 */ -    } -    else if (byte < 0xF5) { +    } else if (byte < 0xF5) {  	if (((src[1] & 0xC0) == 0x80) && ((src[2] & 0xC0) == 0x80)) {  	    /*  	     * Four-byte-character lead byte followed by at least two trail bytes. | 
