summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-03 15:27:12 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-09-03 15:27:12 +0000
commit71e00fd061c9933671b203991152bd3a8bb164ec (patch)
tree1261ebe409826261e465ce161c4d9aedd488b884 /io.c
parent56343375b81d0a4370bfe59c54364060701fe3b5 (diff)
* io.c (make_writeconv): follow akr's previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index ab213057e0..b2d46628fb 100644
--- a/io.c
+++ b/io.c
@@ -711,7 +711,7 @@ make_writeconv(rb_io_t *fptr)
}
if (NEED_NEWLINE_ENCODER(fptr))
- fptr->writeconv_pre_opts.flags |= TEXTMODE_NEWLINE_ENCODER;
+ fptr->writeconv_pre_flags |= TEXTMODE_NEWLINE_ENCODER;
#endif
enc = fptr->encs.enc2 ? fptr->encs.enc2 : fptr->encs.enc;