summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-13 04:37:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-13 04:37:17 +0000
commit5646b9bbbd684ea177687665aab72264a64a2778 (patch)
treebf3bc00b9991962dd1ab4297d5015e6404ab7e01
parentf499936f2a47fabdc2c04d15f874cf5a5e447d5e (diff)
downloadruby-5646b9bbbd684ea177687665aab72264a64a2778.tar.gz
ruby-5646b9bbbd684ea177687665aab72264a64a2778.tar.xz
ruby-5646b9bbbd684ea177687665aab72264a64a2778.zip
* ruby.c (proc_options): fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 66685a27f..d8e698c07 100644
--- a/ruby.c
+++ b/ruby.c
@@ -709,7 +709,7 @@ proc_options(int argc, char **argv, struct cmdline_options *opt)
rb_encoding *enc = 0;
switch (*s) {
case 'E': case 'e':
- enc = enc = rb_enc_find("EUC-JP");
+ enc = rb_enc_find("EUC-JP");
break;
case 'S': case 's':
enc = rb_enc_find("Windows-31J");