comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2065 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
31f99361b6
Коммит
1c293d2e28
12
src/files.c
12
src/files.c
@ -428,10 +428,10 @@ void load_buffer(const char *name)
|
|||||||
|| ISSET(MULTIBUFFER)
|
|| ISSET(MULTIBUFFER)
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
/* new_buffer says whether we load to this buffer or a new one.
|
/* new_buffer says whether we load into this buffer or a new
|
||||||
* If new_buffer is TRUE, we display "New File" if the file is
|
* one. If new_buffer is TRUE, we display "New File" if the
|
||||||
* not found, and if it is found we set filename and add a new
|
* file is not found, and if it is found we set filename and add
|
||||||
* open_files entry. */
|
* a new open_files entry. */
|
||||||
FILE *f;
|
FILE *f;
|
||||||
int rc;
|
int rc;
|
||||||
/* rc == -2 means that the statusbar displayed "New File". -1
|
/* rc == -2 means that the statusbar displayed "New File". -1
|
||||||
@ -792,7 +792,7 @@ void add_open_file(bool update)
|
|||||||
open_files->file_flags = 0;
|
open_files->file_flags = 0;
|
||||||
|
|
||||||
/* if we're updating, save current modification status, current
|
/* if we're updating, save current modification status, current
|
||||||
marking status (if available), and current file format status (if
|
marking status (if available), and current file format (if
|
||||||
available) */
|
available) */
|
||||||
if (update) {
|
if (update) {
|
||||||
if (ISSET(MODIFIED))
|
if (ISSET(MODIFIED))
|
||||||
@ -856,7 +856,7 @@ void load_open_file(void)
|
|||||||
} else
|
} else
|
||||||
UNSET(MARK_ISSET);
|
UNSET(MARK_ISSET);
|
||||||
|
|
||||||
/* restore file format status */
|
/* restore file format */
|
||||||
fmt = open_files->file_fmt;
|
fmt = open_files->file_fmt;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user