summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-20 14:05:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-11-20 14:05:44 +0000
commitafea9046a99f5de0295da8455c09d4614ee2338a (patch)
treea7650db86bb09be3d56c806ffcddd8d5eb784952 /re.c
parent22dcc88584072526fc09bc4a68b51deb1e24d67b (diff)
* re.c (rb_reg_initialize): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r--re.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/re.c b/re.c
index add2963..83f988a 100644
--- a/re.c
+++ b/re.c
@@ -2387,8 +2387,8 @@ rb_reg_initialize(VALUE obj, const char *s, long len, rb_encoding *enc,
re->ptr = 0;
if (rb_enc_dummy_p(enc)) {
- errcpy(err, "can't make regexp with dummy encoding");
- return -1;
+ errcpy(err, "can't make regexp with dummy encoding");
+ return -1;
}
unescaped = rb_reg_preprocess(s, s+len, enc, &fixed_enc, err);