]> granicus.if.org Git - neomutt/commitdiff
index.c move data
authorRichard Russon <rich@flatcap.org>
Fri, 18 Jan 2019 02:32:41 +0000 (02:32 +0000)
committerRichard Russon <rich@flatcap.org>
Fri, 8 Feb 2019 18:32:34 +0000 (18:32 +0000)
index.c

diff --git a/index.c b/index.c
index c4b3fce3d7f903dc894b28752acc0115edbc8fba..4b562fe3053c4b9c960731b7e0aa95a79733ec34 100644 (file)
--- a/index.c
+++ b/index.c
@@ -114,6 +114,32 @@ static const char *Function_not_permitted_in_attach_message_mode =
     N_("Function not permitted in attach-message mode");
 static const char *NoVisible = N_("No visible messages");
 
+static const struct Mapping IndexHelp[] = {
+  { N_("Quit"), OP_QUIT },
+  { N_("Del"), OP_DELETE },
+  { N_("Undel"), OP_UNDELETE },
+  { N_("Save"), OP_SAVE },
+  { N_("Mail"), OP_MAIL },
+  { N_("Reply"), OP_REPLY },
+  { N_("Group"), OP_GROUP_REPLY },
+  { N_("Help"), OP_HELP },
+  { NULL, 0 },
+};
+
+#ifdef USE_NNTP
+struct Mapping IndexNewsHelp[] = {
+  { N_("Quit"), OP_QUIT },
+  { N_("Del"), OP_DELETE },
+  { N_("Undel"), OP_UNDELETE },
+  { N_("Save"), OP_SAVE },
+  { N_("Post"), OP_POST },
+  { N_("Followup"), OP_FOLLOWUP },
+  { N_("Catchup"), OP_CATCHUP },
+  { N_("Help"), OP_HELP },
+  { NULL, 0 },
+};
+#endif
+
 #define CHECK_IN_MAILBOX                                                       \
   if (!Context)                                                                \
   {                                                                            \
@@ -907,32 +933,6 @@ dsl_finish:
   FREE(&syntax);
 }
 
-static const struct Mapping IndexHelp[] = {
-  { N_("Quit"), OP_QUIT },
-  { N_("Del"), OP_DELETE },
-  { N_("Undel"), OP_UNDELETE },
-  { N_("Save"), OP_SAVE },
-  { N_("Mail"), OP_MAIL },
-  { N_("Reply"), OP_REPLY },
-  { N_("Group"), OP_GROUP_REPLY },
-  { N_("Help"), OP_HELP },
-  { NULL, 0 },
-};
-
-#ifdef USE_NNTP
-struct Mapping IndexNewsHelp[] = {
-  { N_("Quit"), OP_QUIT },
-  { N_("Del"), OP_DELETE },
-  { N_("Undel"), OP_UNDELETE },
-  { N_("Save"), OP_SAVE },
-  { N_("Post"), OP_POST },
-  { N_("Followup"), OP_FOLLOWUP },
-  { N_("Catchup"), OP_CATCHUP },
-  { N_("Help"), OP_HELP },
-  { NULL, 0 },
-};
-#endif
-
 /**
  * index_custom_redraw - Redraw the index - Implements Menu::menu_custom_redraw()
  */