diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-15 09:31:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-15 09:31:16 +0000 |
commit | 140934c6611e77d7c1e0ce9f30e8861a20cc32ca (patch) | |
tree | 6175ea8f4fb47df360113945cd9aceb7af52f991 | |
parent | b0488c5bb1a251be6163fda15f00c97ff7028b0d (diff) | |
download | ruby-140934c6611e77d7c1e0ce9f30e8861a20cc32ca.tar.gz |
win32.c: style
* win32/win32.c (rb_w32_fd_is_text): adjust style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | win32/win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 984e03b0dd..c4678b1593 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -6582,7 +6582,8 @@ rb_w32_inet_ntop(int af, const void *addr, char *numaddr, size_t numaddr_len) /* License: Ruby's */ char -rb_w32_fd_is_text(int fd) { +rb_w32_fd_is_text(int fd) +{ return _osfile(fd) & FTEXT; } |