From 28260475bbcb98b6e71b3b78aa79d43cf70a3fdc Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 30 May 2004 03:23:39 +0000
Subject: [PATCH] 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
---
 ChangeLog   | 2 ++
 src/files.c | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 65b354f0..d7a0a72c 100644
--- 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
index 333c9fd6..bf2b3fd9 100644
--- 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;
 	    }
-- 
GitLab