From 422cd726fa6cee2e906fee30469402dd3c004b1e Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 9 Feb 2020 20:17:05 +0100 Subject: [PATCH] tweaks: normalize the indentation after the previous change --- src/files.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/files.c b/src/files.c index 2031c50c..17d6f119 100644 --- 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 }