From 2228f91851a931065920598f31ea583830f500b1 Mon Sep 17 00:00:00 2001 From: davidflanagan Date: Tue, 11 Nov 2008 22:18:21 +0000 Subject: [PATCH] ruby.c (set_internal_encoding_once): fix typo in error string git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ ruby.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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; }