mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fix typo in comment in String#mrb_cstr_to_inum [skip ci]
This commit is contained in:
+1
-1
@@ -1927,7 +1927,7 @@ mrb_cstr_to_inum(mrb_state *mrb, const char *str, int base, int badcheck)
|
||||
}
|
||||
break;
|
||||
} /* end of switch (base) { */
|
||||
if (*str == '0') { /* squeeze preceeding 0s */
|
||||
if (*str == '0') { /* squeeze preceding 0s */
|
||||
uscore = 0;
|
||||
while ((c = *++str) == '0' || c == '_') {
|
||||
if (c == '_') {
|
||||
|
||||
Reference in New Issue
Block a user