a few cleanups and consistency fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1837 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
David Lawrence Ramsey
2004-07-03 03:09:12 +00:00
parent 72e51ab037
commit edab0cc0a5
8 changed files with 27 additions and 19 deletions

View File

@@ -1794,7 +1794,7 @@ int do_writeout(int exiting)
currshortcut = writefile_list;
#endif
if (exiting && filename[0] != '\0' && ISSET(TEMP_OPT)) {
if (exiting && filename[0] != '\0' && ISSET(TEMP_FILE)) {
i = write_file(filename, FALSE, 0, FALSE);
if (i == 1) {
/* Write succeeded. */
@@ -1901,7 +1901,7 @@ int do_writeout(int exiting)
#endif
#ifdef NANO_EXTRA
if (exiting && !ISSET(TEMP_OPT) && !strcasecmp(answer, "zzy")
if (exiting && !ISSET(TEMP_FILE) && !strcasecmp(answer, "zzy")
&& !did_cred) {
do_credits();
did_cred = TRUE;