From 102ec1171d94df9def66214dee1387a5f266dee9 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 3 Nov 2011 18:45:41 +0000 Subject: * io.c (make_writeconv): fixed typo of previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index 5d3c17e2fe..ef8e24b5fa 100644 --- a/io.c +++ b/io.c @@ -910,8 +910,8 @@ make_writeconv(rb_io_t *fptr) ecopts = fptr->encs.ecopts; #ifdef TEXTMODE_NEWLINE_DECORATOR_ON_WRITE if (NEED_NEWLINE_DECORATOR_ON_WRITE(fptr) && - (!(ecflags & ECONV_NEWLINE_DECORATOR_MASK)) || - (ecflags & ECONV_UNIVERSAL_NEWLINE_DECORATOR)) + (!(ecflags & ECONV_NEWLINE_DECORATOR_MASK) || + (ecflags & ECONV_UNIVERSAL_NEWLINE_DECORATOR))) ecflags &= ~ECONV_UNIVERSAL_NEWLINE_DECORATOR; ecflags |= TEXTMODE_NEWLINE_DECORATOR_ON_WRITE; #endif -- cgit v1.2.3