diff --git a/ChangeLog b/ChangeLog index a4ce409c77..854c75d697 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 12 07:16:01 2008 David Flanagan + + * ruby.c (set_internal_encoding_once): fix typo in error string + Wed Nov 12 03:30:59 2008 Nobuyoshi Nakada * include/ruby/intern.h (rb_{external,locale}_str_new_cstr): optimized diff --git a/ruby.c b/ruby.c index 8d8183021e..012f34bd2a 100644 --- a/ruby.c +++ b/ruby.c @@ -632,7 +632,7 @@ set_internal_encoding_once(struct cmdline_options *opt, const char *e, int elen) if (opt->intern.enc.name && rb_funcall(ename, rb_intern("casecmp"), 1, opt->intern.enc.name) != INT2FIX(0)) { rb_raise(rb_eRuntimeError, - "default_intenal already set to %s", RSTRING_PTR(opt->intern.enc.name)); + "default_internal already set to %s", RSTRING_PTR(opt->intern.enc.name)); } opt->intern.enc.name = ename; }