From 094758be150db889228960b69ea7fe38359ab1c4 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 13 Oct 2019 16:11:15 +0200 Subject: [PATCH] tweaks: reshuffle a fragment of code into two alternatives --- src/files.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/files.c b/src/files.c index 6445ef69..c4714187 100644 --- a/src/files.c +++ b/src/files.c @@ -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;