summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-04 06:46:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-04 06:46:32 +0000
commitab4e003969321c167ce326420ac153afb1ebf27e (patch)
tree17d8a7a3d57fa3f9a8772864e6d6c85d81027754 /ruby.c
parent559e573cdde317fbd2b15b96cdb16812e2374c7b (diff)
downloadruby-ab4e003969321c167ce326420ac153afb1ebf27e.tar.gz
* ruby.c (set_{internal,external}_encoding_once): fixed typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 8c7e88b228..5c22d43b99 100644
--- a/ruby.c
+++ b/ruby.c
@@ -667,9 +667,9 @@ set_option_encoding_once(const char *type, VALUE *name, const char *e, long elen
}
#define set_internal_encoding_once(opt, e, elen) \
- set_option_encoding_once("default_intenal", &opt->intern.enc.name, e, elen)
+ set_option_encoding_once("default_internal", &opt->intern.enc.name, e, elen)
#define set_external_encoding_once(opt, e, elen) \
- set_option_encoding_once("default_extenal", &opt->ext.enc.name, e, elen)
+ set_option_encoding_once("default_external", &opt->ext.enc.name, e, elen)
#define set_source_encoding_once(opt, e, elen) \
set_option_encoding_once("source", &opt->src.enc.name, e, elen)