mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-26 20:29:46 +03:00
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:
parent
c21790d6d9
commit
28260475bb
@ -119,6 +119,8 @@ CVS code -
|
|||||||
do_writeout()
|
do_writeout()
|
||||||
- Refactor so that no recursion is needed if we try to exit with
|
- 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)
|
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()
|
do_browser()
|
||||||
- Call check_statblank() instead of blanking the statusbar
|
- Call check_statblank() instead of blanking the statusbar
|
||||||
unconditionally, for consistency. (David Benbennick)
|
unconditionally, for consistency. (David Benbennick)
|
||||||
|
@ -1927,7 +1927,7 @@ int do_writeout(int exiting)
|
|||||||
struct stat st;
|
struct stat st;
|
||||||
|
|
||||||
if (!stat(answer, &st)) {
|
if (!stat(answer, &st)) {
|
||||||
i = do_yesno(FALSE, _("File exists, OVERWRITE ?"));
|
i = do_yesno(FALSE, _("File exists, OVERWRITE ? "));
|
||||||
if (i == 0 || i == -1)
|
if (i == 0 || i == -1)
|
||||||
continue;
|
continue;
|
||||||
/* If we're using restricted mode, we aren't allowed to
|
/* If we're using restricted mode, we aren't allowed to
|
||||||
@ -1940,7 +1940,7 @@ int do_writeout(int exiting)
|
|||||||
&& (exiting || !ISSET(MARK_ISSET))
|
&& (exiting || !ISSET(MARK_ISSET))
|
||||||
#endif
|
#endif
|
||||||
) {
|
) {
|
||||||
i = do_yesno(FALSE, _("Save file under DIFFERENT NAME ?"));
|
i = do_yesno(FALSE, _("Save file under DIFFERENT NAME ?" ));
|
||||||
if (i == 0 || i == -1)
|
if (i == 0 || i == -1)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user