tweaks: reshuffle a fragment of code into two alternatives

master
Benno Schulenberg 2019-10-13 16:11:15 +02:00
parent 06bbc70d4a
commit 094758be15
1 changed files with 3 additions and 3 deletions

View File

@ -2025,11 +2025,11 @@ int do_writeout(bool exiting, bool withprompt)
/* Display newlines in filenames as ^J. */
as_an_at = FALSE;
given = copy_of(
#ifndef NANO_TINY
(openfile->mark && !exiting) ? "" :
given = copy_of((openfile->mark && !exiting) ? "" : openfile->filename);
#else
given = copy_of(openfile->filename);
#endif
openfile->filename);
while (TRUE) {
const char *msg;