tweaks: normalize the indentation after the previous change
parent
9f43b4c758
commit
422cd726fa
14
src/files.c
14
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. */
|
* and then (if requested and possible) create a lock file for it. */
|
||||||
if (new_buffer && has_valid_path(realname)) {
|
if (new_buffer && has_valid_path(realname)) {
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
if (ISSET(LOCKING) && !ISSET(VIEW_MODE) && filename[0] != '\0') {
|
if (ISSET(LOCKING) && !ISSET(VIEW_MODE) && filename[0] != '\0') {
|
||||||
thelocksname = do_lockfile(realname, TRUE);
|
thelocksname = do_lockfile(realname, TRUE);
|
||||||
|
|
||||||
/* When not overriding an existing lock, don't open a buffer. */
|
/* When not overriding an existing lock, don't open a buffer. */
|
||||||
if (thelocksname == SKIPTHISFILE) {
|
if (thelocksname == SKIPTHISFILE) {
|
||||||
free(realname);
|
free(realname);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue