diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-21 16:47:01 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-21 16:47:01 +0000 |
| commit | be1488720f083c9000e31ff57b7b904f465e9725 (patch) | |
| tree | c1ba20bf2e541643bef9f131d37a38222e9847ce /string.c | |
| parent | 5872098c41959199ce891d4ea3ab3dbab6a5eaea (diff) | |
| download | ruby-be1488720f083c9000e31ff57b7b904f465e9725.tar.gz ruby-be1488720f083c9000e31ff57b7b904f465e9725.tar.xz ruby-be1488720f083c9000e31ff57b7b904f465e9725.zip | |
* string.c (rb_str_ord): typo fixed. reported from Kornelius
Kalnbach <murphy@rubychan.de>. [ruby-core:09621]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
| -rw-r--r-- | string.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4251,7 +4251,7 @@ rb_str_ord(VALUE s) if (RSTRING_LEN(s) != 1) { rb_raise(rb_eTypeError, - "expacted a characer, but string of size %ld given", + "expected a character, but string of size %ld given", RSTRING_LEN(s)); } c = RSTRING_PTR(s)[0] & 0xff; |
