From e8f90789e9e05165c568a25a6bee93e7618bb803 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@justemail.net> Date: Tue, 16 May 2017 20:00:42 +0200 Subject: [PATCH] tweaks: exclude from the tiny version two messages that will never occur --- src/files.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/files.c b/src/files.c index a3ba9de9..89157cc2 100644 --- a/src/files.c +++ b/src/files.c @@ -2127,11 +2127,12 @@ int do_writeout(bool exiting) msg = (method == PREPEND) ? _("Prepend Selection to File") : (method == APPEND) ? _("Append Selection to File") : _("Write Selection to File"); + else if (method != OVERWRITE) + msg = (method == PREPEND) ? _("File Name to Prepend to") : + _("File Name to Append to"); else #endif /* !NANO_TINY */ - msg = (method == PREPEND) ? _("File Name to Prepend to") : - (method == APPEND) ? _("File Name to Append to") : - _("File Name to Write"); + msg = _("File Name to Write"); present_path = mallocstrcpy(present_path, "./"); -- GitLab