diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-07-07 00:34:03 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-07-07 00:34:03 +0900 |
| commit | f1c6d6c8663272c0c2df39c65e68eda76c6b9327 (patch) | |
| tree | 115e01663f0a653804a86cec9ee691490a5e54d0 /src/string.c | |
| parent | e690e1e877f33cda815e4f8771208dda68def296 (diff) | |
| parent | 03ae38df4e18c33e6ce4f5614bd4ec7b1ba9f192 (diff) | |
| download | mruby-f1c6d6c8663272c0c2df39c65e68eda76c6b9327.tar.gz mruby-f1c6d6c8663272c0c2df39c65e68eda76c6b9327.zip | |
Merge pull request #2875 from davydovanton/doc-comment-typo
Fix typo in comment in String#mrb_cstr_to_inum
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 == '_') { |
