]> git.wh0rd.org Git - nano.git/commitdiff
Oops\! Don't automatically assume the current filename when writing a selection to...
authorChris Allegretta <chrisa@asty.org>
Tue, 5 Jun 2001 22:57:43 +0000 (22:57 +0000)
committerChris Allegretta <chrisa@asty.org>
Tue, 5 Jun 2001 22:57:43 +0000 (22:57 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@676 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

files.c

diff --git a/files.c b/files.c
index 0453ce1dd0353dd0f14101318bca2bfc9e0fcdb3..866bbbcf59dd49b197216e3753735de46454af64 100644 (file)
--- a/files.c
+++ b/files.c
@@ -542,7 +542,7 @@ int do_writeout(char *path, int exiting, int append)
 
     while (1) {
        if (ISSET(MARK_ISSET) && !exiting)
-           i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, answer,
+           i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, "",
                    _("%s Selection to File"), append ? _("Append") : _("Write"));
        else
            i = statusq(1, writefile_list, WRITEFILE_LIST_LEN, answer,