summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-23 13:31:37 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-12-23 13:31:37 +0000
commit859ed453507cf2b793d41a934665ebaf9c847706 (patch)
tree5eba118c0c56eec022c94ffeab0be2c250eaa3f4 /io.c
parentc2e1f019eea62e89d5641a83d1165aa337d29336 (diff)
* io.c (io_fillbuf): fixes a mistake on merging r30280, at r30321.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30325 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 2b40b08f0f..268d8d7ba3 100644
--- a/io.c
+++ b/io.c
@@ -1212,7 +1212,7 @@ io_fillbuf(rb_io_t *fptr)
fptr->rbuf_capa = IO_RBUF_CAPA_FOR(fptr);
fptr->rbuf = ALLOC_N(char, fptr->rbuf_capa);
#ifdef _WIN32
- fptr->rbuf.capa--;
+ fptr->rbuf_capa--;
#endif
}
if (fptr->rbuf_len == 0) {