diff options
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/win32/win32.c b/win32/win32.c index ada33421c0..496268705c 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -4049,12 +4049,12 @@ rb_w32_utime(const char *path, const struct utimbuf *times) } if (times) { - if (unixtime_to_filetime(times->actime, &atime)) { - return -1; - } - if (unixtime_to_filetime(times->modtime, &mtime)) { - return -1; - } + if (unixtime_to_filetime(times->actime, &atime)) { + return -1; + } + if (unixtime_to_filetime(times->modtime, &mtime)) { + return -1; + } } else { GetSystemTimeAsFileTime(&atime); |