tweaks: normalize the indentation after an earlier change
(Should have been done yesterday, right after commit 2f718e11.)
Этот коммит содержится в:
родитель
b6909d3737
Коммит
74fcc3be79
20
src/files.c
20
src/files.c
@ -422,19 +422,19 @@ bool open_buffer(const char *filename, bool new_one)
|
|||||||
|
|
||||||
if (has_valid_path(realname)) {
|
if (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') {
|
||||||
char *thelocksname = do_lockfile(realname, TRUE);
|
char *thelocksname = do_lockfile(realname, TRUE);
|
||||||
|
|
||||||
/* When not overriding an existing lock, discard the buffer. */
|
/* When not overriding an existing lock, discard the buffer. */
|
||||||
if (thelocksname == SKIPTHISFILE) {
|
if (thelocksname == SKIPTHISFILE) {
|
||||||
#ifdef ENABLE_MULTIBUFFER
|
#ifdef ENABLE_MULTIBUFFER
|
||||||
close_buffer();
|
close_buffer();
|
||||||
#endif
|
#endif
|
||||||
free(realname);
|
free(realname);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else
|
} else
|
||||||
openfile->lock_filename = thelocksname;
|
openfile->lock_filename = thelocksname;
|
||||||
}
|
}
|
||||||
#endif /* NANO_TINY */
|
#endif /* NANO_TINY */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user