nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 28260475bbcb98b6e71b3b78aa79d43cf70a3fdc
parent c21790d6d9de4d851241e9c4b5be022c6b096ae3
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 30 May 2004 03:23:39 +0000

add spaces to the ends of the "Overwrite" and "Different Name" prompts,
for consistency


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1789 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 2++
Msrc/files.c | 4++--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -119,6 +119,8 @@ CVS code - do_writeout() - Refactor so that no recursion is needed if we try to exit with a modified file that has no name when TEMP_OPT is set. (DLR) + - Add spaces to the ends of the "Overwrite" and "Different Name" + prompts, for consistency. (DLR) do_browser() - Call check_statblank() instead of blanking the statusbar unconditionally, for consistency. (David Benbennick) diff --git a/src/files.c b/src/files.c @@ -1927,7 +1927,7 @@ int do_writeout(int exiting) struct stat st; if (!stat(answer, &st)) { - i = do_yesno(FALSE, _("File exists, OVERWRITE ?")); + i = do_yesno(FALSE, _("File exists, OVERWRITE ? ")); if (i == 0 || i == -1) continue; /* If we're using restricted mode, we aren't allowed to @@ -1940,7 +1940,7 @@ int do_writeout(int exiting) && (exiting || !ISSET(MARK_ISSET)) #endif ) { - i = do_yesno(FALSE, _("Save file under DIFFERENT NAME ?")); + i = do_yesno(FALSE, _("Save file under DIFFERENT NAME ?" )); if (i == 0 || i == -1) continue; }