diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-19 00:31:03 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-11-19 00:31:03 -0800 |
commit | 26678682ca90b68f19b993e259bf43384c0a18ec (patch) | |
tree | af119f1845d12657d42e8ba57f90350c9f89c57f /wutil.cpp | |
parent | 7d63900fb8167d344a58c0c7e541166974b0c672 (diff) |
Fix indentation of switch statements
Diffstat (limited to 'wutil.cpp')
-rw-r--r-- | wutil.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -153,21 +153,21 @@ FILE *wfopen(const wcstring &path, const char *mode) size_t idx = 0; switch (mode[idx++]) { - case 'r': - permissions = O_RDONLY; - break; - case 'w': - permissions = O_WRONLY; - options = O_CREAT | O_TRUNC; - break; - case 'a': - permissions = O_WRONLY; - options = O_CREAT | O_APPEND; - break; - default: - errno = EINVAL; - return NULL; - break; + case 'r': + permissions = O_RDONLY; + break; + case 'w': + permissions = O_WRONLY; + options = O_CREAT | O_TRUNC; + break; + case 'a': + permissions = O_WRONLY; + options = O_CREAT | O_APPEND; + break; + default: + errno = EINVAL; + return NULL; + break; } /* Skip binary */ if (mode[idx] == 'b') |