summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-10 08:32:54 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-10 08:32:54 +0000
commit9be47132afd80a4b0f54c178f7237bd197fadf46 (patch)
tree57e5406cd7197bb929de59974afb60c28766e468 /pack.c
parent60b2446bea0297c47f56deb308c29a5c1af64cc9 (diff)
* pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index ef540c6..d47eaee 100644
--- a/pack.c
+++ b/pack.c
@@ -1840,7 +1840,7 @@ static const long utf8_limits[] = {
0x0, /* 1 */
0x80, /* 2 */
0x800, /* 3 */
- 0x1000, /* 4 */
+ 0x10000, /* 4 */
0x200000, /* 5 */
0x4000000, /* 6 */
0x80000000, /* 7 */