From 2d1cf658eeafbd989e0b61bae08a8d0b1b49e2bd Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 26 Jul 2022 18:33:21 +0900 Subject: Adjust indent [ci skip] --- string.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'string.c') diff --git a/string.c b/string.c index d9b5278eb6..85819e26a3 100644 --- a/string.c +++ b/string.c @@ -10784,16 +10784,16 @@ rb_str_b(VALUE str) // If we know the receiver's code range then we know the result's code range. int cr = ENC_CODERANGE(str); switch (cr) { - case ENC_CODERANGE_7BIT: - ENC_CODERANGE_SET(str2, ENC_CODERANGE_7BIT); - break; - case ENC_CODERANGE_BROKEN: - case ENC_CODERANGE_VALID: - ENC_CODERANGE_SET(str2, ENC_CODERANGE_VALID); - break; - default: - ENC_CODERANGE_CLEAR(str2); - break; + case ENC_CODERANGE_7BIT: + ENC_CODERANGE_SET(str2, ENC_CODERANGE_7BIT); + break; + case ENC_CODERANGE_BROKEN: + case ENC_CODERANGE_VALID: + ENC_CODERANGE_SET(str2, ENC_CODERANGE_VALID); + break; + default: + ENC_CODERANGE_CLEAR(str2); + break; } return str2; -- cgit v1.2.1