diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-02-26 13:20:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2023-02-26 13:20:43 +0900 |
commit | ef00c6da884499c8fab8531a3780e547e87c04fa (patch) | |
tree | 3a916b0415e1a3bebabb8ebc983bef3d37588ed2 /win32/win32.c | |
parent | 672b81b090fb346b71f1c8e87a51a7c33f239df4 (diff) |
Adjust `else` style to be consistent in each files [ci skip]
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c index ca62fe6c6d..e1741c0522 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -5894,11 +5894,13 @@ winnt_stat(const WCHAR *path, struct stati128 *st, BOOL lstat) if (e && attr_info.ReparseTag == IO_REPARSE_TAG_AF_UNIX) { st->st_size = 0; mode |= S_IFSOCK; - } else if (rb_w32_reparse_symlink_p(path)) { + } + else if (rb_w32_reparse_symlink_p(path)) { /* TODO: size in which encoding? */ st->st_size = 0; mode |= S_IFLNK | S_IEXEC; - } else { + } + else { mode |= S_IFDIR | S_IEXEC; } } |