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
This commit is contained in:
David Lawrence Ramsey 2004-05-30 03:23:39 +00:00
parent c21790d6d9
commit 28260475bb
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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;
}