summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-09 08:20:32 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-01-09 08:20:32 +0000
commitb61c5221d142eaae0f4a352f3e91f5ef0339a1b4 (patch)
treea94c6675d1b1b2a6517583b0f2ff208cb5150fd8 /io.c
parent458bd16496a3cd6dc97e98cf80e51cfe8d9d0fa2 (diff)
downloadruby-b61c5221d142eaae0f4a352f3e91f5ef0339a1b4.tar.gz
ruby-b61c5221d142eaae0f4a352f3e91f5ef0339a1b4.tar.xz
ruby-b61c5221d142eaae0f4a352f3e91f5ef0339a1b4.zip
adjust indentation
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index fd612ddcc..4ac72c9af 100644
--- a/io.c
+++ b/io.c
@@ -825,9 +825,9 @@ io_read(argc, argv, io)
rb_str_resize(str, 0);
return str;
}
- if (len > RSTRING(str)->len) {
- rb_str_resize(str,len);
- }
+ if (len > RSTRING(str)->len) {
+ rb_str_resize(str,len);
+ }
}
READ_CHECK(fptr->f);