summaryrefslogtreecommitdiff
path: root/regenc.c
diff options
context:
space:
mode:
authorksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-16 15:20:15 +0000
committerksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-16 15:20:15 +0000
commitc2253d31cd409f3d4c22708778ac61836d223ed2 (patch)
treed8f64a6b42f55d7136e1b18d0e1694d02e70bffc /regenc.c
parente1124ffa21685ece8854b6e198e47cafadd64d07 (diff)
This commit was generated by cvs2svn to compensate for changes in r5960,
which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regenc.c')
-rw-r--r--regenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regenc.c b/regenc.c
index 21598ca7c7..b1ce664667 100644
--- a/regenc.c
+++ b/regenc.c
@@ -361,7 +361,7 @@ onigenc_mb2_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf)
#if 1
if (enc_len(enc, buf[0]) != (p - buf))
- return ONIGERR_INVALID_WIDE_CHAR_VALUE;
+ return ONIGENCERR_INVALID_WIDE_CHAR_VALUE;
#endif
return p - buf;
}
@@ -384,7 +384,7 @@ onigenc_mb4_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf)
#if 1
if (enc_len(enc, buf[0]) != (p - buf))
- return ONIGERR_INVALID_WIDE_CHAR_VALUE;
+ return ONIGENCERR_INVALID_WIDE_CHAR_VALUE;
#endif
return p - buf;
}