diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-14 03:23:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-14 03:23:20 +0000 |
commit | 43d414868234db224c3dbbeb72d41d3a130f662c (patch) | |
tree | 09d4b5b8dc799a9cdcd5cbb1ea61593214473825 /ext/strscan | |
parent | 747e3c73e02a510f302116a491bc2359e156c407 (diff) | |
download | ruby-43d414868234db224c3dbbeb72d41d3a130f662c.tar.gz |
strscan.c: fix typo
* ext/strscan/strscan.c (inspect1): fix typo, rb_str_cat() instead
of rb_str_cat2().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/strscan')
-rw-r--r-- | ext/strscan/strscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index a62616ceea..ec983e1f50 100644 --- a/ext/strscan/strscan.c +++ b/ext/strscan/strscan.c @@ -1198,7 +1198,7 @@ inspect1(struct strscanner *p) str = rb_str_new(0, 0); len = p->curr; } - rb_str_cat2(str, CURPTR(p) - len, len); + rb_str_cat(str, CURPTR(p) - len, len); return rb_str_dump(str); } |