From 03ae38df4e18c33e6ce4f5614bd4ec7b1ba9f192 Mon Sep 17 00:00:00 2001 From: Anton Davydov Date: Sun, 5 Jul 2015 13:49:37 +0300 Subject: Fix typo in comment in String#mrb_cstr_to_inum [skip ci] --- src/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/string.c b/src/string.c index 8df79d4c0..57b5eef9a 100644 --- a/src/string.c +++ b/src/string.c @@ -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 == '_') { -- cgit v1.2.3