From 8ff785cf402f5ae4819ffbd13aedcfe7565e93ad Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 19 Apr 2006 23:13:44 +0000
Subject: [PATCH] in toggle_init(), in the global toggle list, move the
 "Constant cursor position display" toggle up to after the "Use more space for
 editing" toggle, for consistency

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3395 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog    | 4 ++++
 src/global.c | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6bb46150..f2519da0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -72,6 +72,10 @@ CVS code -
 	  instead of "show", for consistency. (DLR)
 	- In the main shortcut list, move the "Refresh" shortcut down to
 	  after the "Enter" shortcut, for consistency. (DLR)
+  toggle_init()
+	- In the global toggle list, move the "Constant cursor position
+	  display" toggle up to after the "Use more space for editing"
+	  toggle, for consistency. (DLR)
 - rcfile.c:
   parse_argument()
 	- Rename variable ptr_bak to ptr_save, for consistency. (DLR)
diff --git a/src/global.c b/src/global.c
index 3c2f1dee..ed19deec 100644
--- a/src/global.c
+++ b/src/global.c
@@ -1212,6 +1212,8 @@ void toggle_init(void)
     toggle_init_one(TOGGLE_NOHELP_KEY, N_("Help mode"), NO_HELP);
     toggle_init_one(TOGGLE_MORESPACE_KEY,
 	N_("Use of more space for editing"), MORE_SPACE);
+    toggle_init_one(TOGGLE_CONST_KEY,
+	N_("Constant cursor position display"), CONST_UPDATE);
 #ifdef ENABLE_MULTIBUFFER
     /* If we're using restricted mode, the multibuffer toggle is
      * disabled.  It's useless since inserting files is disabled. */
@@ -1231,8 +1233,6 @@ void toggle_init(void)
      * It's useless since suspending is disabled. */
     if (!ISSET(RESTRICTED))
 	toggle_init_one(TOGGLE_SUSPEND_KEY, N_("Suspend"), SUSPEND);
-    toggle_init_one(TOGGLE_CONST_KEY,
-	N_("Constant cursor position display"), CONST_UPDATE);
     toggle_init_one(TOGGLE_AUTOINDENT_KEY, N_("Auto indent"),
 	AUTOINDENT);
     toggle_init_one(TOGGLE_TABSTOSPACES_KEY,
-- 
GitLab