More -t and exit fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@124 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2000-07-24 22:05:18 +00:00
parent 962c3c9c21
commit 461b2a9dfe
2 changed files with 10 additions and 7 deletions

View File

@ -452,8 +452,11 @@ int do_writeout(int exiting)
} }
else else
{ {
UNSET(TEMP_OPT); UNSET(TEMP_OPT);
return do_exit(); do_exit();
/* They cancelled, abort quit */
return -1;
} }
} }

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-07-24 17:53-0400\n" "POT-Creation-Date: 2000-07-24 18:10-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -55,7 +55,7 @@ msgstr ""
msgid "File to insert [from ./] " msgid "File to insert [from ./] "
msgstr "" msgstr ""
#: files.c:272 files.c:296 files.c:483 nano.c:1147 #: files.c:272 files.c:296 files.c:486 nano.c:1147
msgid "Cancelled" msgid "Cancelled"
msgstr "" msgstr ""
@ -94,16 +94,16 @@ msgstr ""
msgid "Wrote %d lines" msgid "Wrote %d lines"
msgstr "" msgstr ""
#: files.c:462 #: files.c:465
msgid "File Name to write" msgid "File Name to write"
msgstr "" msgstr ""
#: files.c:467 #: files.c:470
#, c-format #, c-format
msgid "filename is %s" msgid "filename is %s"
msgstr "" msgstr ""
#: files.c:472 #: files.c:475
msgid "File exists, OVERWRITE ?" msgid "File exists, OVERWRITE ?"
msgstr "" msgstr ""