diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-10-12 18:05:01 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-10-19 15:20:33 +0200 |
commit | 38dd53c525054daf83dba27d7d46e90e8b41fa50 (patch) | |
tree | 1eb4fd0282fd84233209db3b5889a818a2566eca /src/nvim/fileio.c | |
parent | f98b8d2d44d289263b1a3b33b6a7f20644ef671c (diff) | |
download | rneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.tar.gz rneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.tar.bz2 rneovim-38dd53c525054daf83dba27d7d46e90e8b41fa50.zip |
refactor: make commas trail in enums
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index bd78818ab2..e4b4232337 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -3154,8 +3154,8 @@ nobackup: O_WRONLY | (append ? (forceit ? (O_APPEND | O_CREAT) : O_APPEND) - : (O_CREAT | O_TRUNC)) - , perm < 0 ? 0666 : (perm & 0777))) < 0) { + : (O_CREAT | O_TRUNC)), + perm < 0 ? 0666 : (perm & 0777))) < 0) { // A forced write will try to create a new file if the old one // is still readonly. This may also happen when the directory // is read-only. In that case the mch_remove() will fail. |