[前][次][番号順一覧][スレッド一覧]

ruby-changes:3483

From: ko1@a...
Date: 10 Jan 2008 15:44:41 +0900
Subject: [ruby-changes:3483] matz - Ruby:r14976 (trunk): io.c (io_encoding_set): typo fixed

matz	2008-01-10 15:44:30 +0900 (Thu, 10 Jan 2008)

  New Revision: 14976

  Modified files:
    trunk/io.c

  Log:
    io.c (io_encoding_set): typo fixed

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/io.c?r1=14976&r2=14975&diff_format=u

Index: io.c
===================================================================
--- io.c	(revision 14975)
+++ io.c	(revision 14976)
@@ -5627,7 +5627,7 @@
 	fptr->enc = rb_to_encoding(v2);
     }
     else if (argc == 1) {
-	if if (NIL_P(v1)) {
+	if (NIL_P(v1)) {
 	    fptr->enc = 0;
 	}
 	else {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧]