mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
small cosmetic changes.
I prefer `i++` style unless absolutely necessary. This commit is an addition to 41e4148.
This commit is contained in:
@@ -27,8 +27,8 @@ str_casecmp_p(const char *s1, mrb_int len1, const char *s2, mrb_int len2)
|
||||
e2 = s2 + len2;
|
||||
while (s1 < e1 && s2 < e2) {
|
||||
if (*s1 != *s2 && TOUPPER(*s1) != TOUPPER(*s2)) return FALSE;
|
||||
++s1;
|
||||
++s2;
|
||||
s1++;
|
||||
s2++;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user