commit 422cd726fa6cee2e906fee30469402dd3c004b1e
parent 9f43b4c75822f31d316ad01c2b0be38069c64034
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 9 Feb 2020 20:17:05 +0100
tweaks: normalize the indentation after the previous change
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/files.c b/src/files.c
@@ -419,15 +419,15 @@ bool open_buffer(const char *filename, bool new_buffer)
* and then (if requested and possible) create a lock file for it. */
if (new_buffer && has_valid_path(realname)) {
#ifndef NANO_TINY
- if (ISSET(LOCKING) && !ISSET(VIEW_MODE) && filename[0] != '\0') {
- thelocksname = do_lockfile(realname, TRUE);
+ if (ISSET(LOCKING) && !ISSET(VIEW_MODE) && filename[0] != '\0') {
+ thelocksname = do_lockfile(realname, TRUE);
- /* When not overriding an existing lock, don't open a buffer. */
- if (thelocksname == SKIPTHISFILE) {
- free(realname);
- return FALSE;
- }
+ /* When not overriding an existing lock, don't open a buffer. */
+ if (thelocksname == SKIPTHISFILE) {
+ free(realname);
+ return FALSE;
}
+ }
#endif
}