aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authorgit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-08-15 08:16:14 +0900
committergit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-08-15 08:16:14 +0900
commit132b7eb104ed2f5d9966adb2f0edacb2406f40fb (patch)
tree3d83372b8f482c9a3de5af90bbed593dace80ff0 /string.c
parent6954ff1dcb538ee6c042872088b64464a1ef6089 (diff)
downloadruby-132b7eb104ed2f5d9966adb2f0edacb2406f40fb.tar.gz
* expand tabs. [ci skip]
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 9492ec8171..9331532d15 100644
--- a/string.c
+++ b/string.c
@@ -3417,8 +3417,8 @@ str_casecmp(VALUE str1, VALUE str2)
if (single_byte_optimizable(str1) && single_byte_optimizable(str2)) {
while (p1 < p1end && p2 < p2end) {
if (*p1 != *p2) {
- unsigned int c1 = TOLOWER(*p1 & 0xff);
- unsigned int c2 = TOLOWER(*p2 & 0xff);
+ unsigned int c1 = TOLOWER(*p1 & 0xff);
+ unsigned int c2 = TOLOWER(*p2 & 0xff);
if (c1 != c2)
return INT2FIX(c1 < c2 ? -1 : 1);
}