summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 03:10:21 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-19 03:10:21 +0000
commitedb98f8b910b00be16868b21116924cffad785b9 (patch)
treeeb98e40557395aa10c68c9bba496b62ff11a9369 /string.c
parent67964f299b671c9b29257c7a62000bfbadb4c556 (diff)
fix typos. Patch by k_takata.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 7c6c6c8c5b..c45179f58d 100644
--- a/string.c
+++ b/string.c
@@ -1093,7 +1093,7 @@ rb_enc_strlen_cr(const char *p, const char *e, rb_encoding *enc, int *cr)
/*
* UTF-8 leading bytes have either 0xxxxxxx or 11xxxxxx
- * bit represention. (see http://en.wikipedia.org/wiki/UTF-8)
+ * bit representation. (see http://en.wikipedia.org/wiki/UTF-8)
* Therefore, following pseudo code can detect UTF-8 leading byte.
*
* if (!(byte & 0x80))