one last cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4095 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
21119126d0
commit
d4cf1fd0ca
12
src/files.c
12
src/files.c
|
@ -1797,9 +1797,9 @@ bool do_writeout(bool exiting)
|
||||||
backupstr = ISSET(BACKUP_FILE) ? _(" [Backup]") : "";
|
backupstr = ISSET(BACKUP_FILE) ? _(" [Backup]") : "";
|
||||||
|
|
||||||
/* If we're using restricted mode, don't display the "Write
|
/* If we're using restricted mode, don't display the "Write
|
||||||
* Selection to File" prompt. This is disabled, since it allows
|
* Selection to File" prompt. This function is disabled, since
|
||||||
* reading from or writing to files not specified on the command
|
* it allows reading from or writing to files not specified on
|
||||||
* line. */
|
* the command line. */
|
||||||
if (!ISSET(RESTRICTED) && !exiting && openfile->mark_set)
|
if (!ISSET(RESTRICTED) && !exiting && openfile->mark_set)
|
||||||
msg = (append == PREPEND) ?
|
msg = (append == PREPEND) ?
|
||||||
_("Prepend Selection to File") : (append == APPEND) ?
|
_("Prepend Selection to File") : (append == APPEND) ?
|
||||||
|
@ -1958,9 +1958,9 @@ bool do_writeout(bool exiting)
|
||||||
align(&answer);
|
align(&answer);
|
||||||
|
|
||||||
/* Here's where we allow the selected text to be written to
|
/* Here's where we allow the selected text to be written to
|
||||||
* a separate file. If we're using restricted mode, this is
|
* a separate file. If we're using restricted mode, this
|
||||||
* disabled, since it allows reading from or writing to
|
* function is disabled, since it allows reading from or
|
||||||
* files not specified on the command line. */
|
* writing to files not specified on the command line. */
|
||||||
retval =
|
retval =
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
(!ISSET(RESTRICTED) && !exiting && openfile->mark_set) ?
|
(!ISSET(RESTRICTED) && !exiting && openfile->mark_set) ?
|
||||||
|
|
Loading…
Reference in New Issue