in shortcut_init(), in the main shortcut list, move the "Refresh"
shortcut down to after the "Enter" shortcut, for consistency
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3394 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/src/global.c b/src/global.c
index d688e22..3c2f1de 100644
--- a/src/global.c
+++ b/src/global.c
@@ -344,8 +344,6 @@
N_("Move to the beginning of the current line");
const char *nano_end_msg =
N_("Move to the end of the current line");
- const char *nano_refresh_msg =
- N_("Refresh (redraw) the current screen");
const char *nano_delete_msg =
N_("Delete the character under the cursor");
const char *nano_backspace_msg =
@@ -354,6 +352,8 @@
N_("Insert a tab character at the cursor position");
const char *nano_enter_msg =
N_("Insert a carriage return at the cursor position");
+ const char *nano_refresh_msg =
+ N_("Refresh (redraw) the current screen");
#ifndef NANO_TINY
const char *nano_nextword_msg = N_("Move forward one word");
const char *nano_prevword_msg = N_("Move backward one word");
@@ -590,10 +590,6 @@
IFHELP(nano_end_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
VIEW, do_end);
- sc_init_one(&main_list, NANO_REFRESH_KEY, refresh_msg,
- IFHELP(nano_refresh_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
- VIEW, total_refresh);
-
sc_init_one(&main_list, NANO_DELETE_KEY, N_("Delete"),
IFHELP(nano_delete_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
NOVIEW, do_delete);
@@ -610,6 +606,10 @@
IFHELP(nano_enter_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
NOVIEW, do_enter);
+ sc_init_one(&main_list, NANO_REFRESH_KEY, refresh_msg,
+ IFHELP(nano_refresh_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
+ VIEW, total_refresh);
+
#ifndef DISABLE_HELP
/* This entry is blank, in order to make the help text easier to
* read. */