From: Chris Allegretta Date: Mon, 24 Jul 2000 22:05:18 +0000 (+0000) Subject: More -t and exit fixes X-Git-Tag: v0.9.14pre1~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=461b2a9dfefd57ca994867f1d0248a5c0277e072;p=nano.git More -t and exit fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@124 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/files.c b/files.c index 5feed987..3912c86c 100644 --- a/files.c +++ b/files.c @@ -452,8 +452,11 @@ int do_writeout(int exiting) } else { - UNSET(TEMP_OPT); - return do_exit(); + UNSET(TEMP_OPT); + do_exit(); + + /* They cancelled, abort quit */ + return -1; } } diff --git a/po/nano.pot b/po/nano.pot index a33f1f2e..a024f468 100644 --- a/po/nano.pot +++ b/po/nano.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "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" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -55,7 +55,7 @@ msgstr "" msgid "File to insert [from ./] " 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" msgstr "" @@ -94,16 +94,16 @@ msgstr "" msgid "Wrote %d lines" msgstr "" -#: files.c:462 +#: files.c:465 msgid "File Name to write" msgstr "" -#: files.c:467 +#: files.c:470 #, c-format msgid "filename is %s" msgstr "" -#: files.c:472 +#: files.c:475 msgid "File exists, OVERWRITE ?" msgstr ""