Fix typo in comment in String#mrb_cstr_to_inum [skip ci]

This commit is contained in:
Anton Davydov
2015-07-05 13:49:37 +03:00
parent e690e1e877
commit 03ae38df4e
+1 -1
View File
@@ -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 == '_') {