change references to "open files" to "open file buffers" for

consistency, and add DB's changes to die() so that it works properly
with the overhauled multibuffer routines


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2153 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2004-12-01 15:11:27 +00:00
parent 1483ee3db1
commit 3ece0b9aeb
4 changed files with 23 additions and 29 deletions

View File

@@ -823,7 +823,7 @@ void add_open_file(bool update)
}
/* Read the current entry in the open_files structure and set up the
* currently open file using that entry's information. */
* currently open file buffer using that entry's information. */
void load_open_file(void)
{
assert(open_files != NULL);
@@ -887,17 +887,17 @@ void load_open_file(void)
titlebar(NULL);
}
/* Open either the next or previous file. */
/* Open either the next or previous file buffer. */
void open_prevnext_file(bool next)
{
add_open_file(TRUE);
assert(open_files != NULL);
/* If only one file is open, indicate it on the statusbar and get
* out. */
/* If only one file buffer is open, indicate it on the statusbar and
* get out. */
if (open_files == open_files->next) {
statusbar(_("No more open files"));
statusbar(_("No more open file buffers"));
return;
}
@@ -938,7 +938,7 @@ void open_nextfile_void(void)
/* Delete an entry from the open_files filestruct. After deletion of an
* entry, the next entry is opened. Return TRUE on success or FALSE if
* there are no more open files. */
* there are no more open file buffers. */
bool close_open_file(void)
{
assert(open_files != NULL);