summaryrefslogtreecommitdiffstats
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
commitf50979ef95a6969a58e56605dcdb26c2586a5e68 (patch)
tree1261ebe409826261e465ce161c4d9aedd488b884 /io.c
parent6e19e7a8de5b6ec879850a3d9f4a82652e24f04e (diff)
downloadruby-f50979ef95a6969a58e56605dcdb26c2586a5e68.tar.gz
ruby-f50979ef95a6969a58e56605dcdb26c2586a5e68.tar.xz
ruby-f50979ef95a6969a58e56605dcdb26c2586a5e68.zip
* io.c (make_writeconv): follow akr's previous commit.
git-svn-id: http://svn.ruby-lang.org/repos/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 ab213057e..b2d46628f 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;