From ba7b1681a28c53c27095eba7e87ab9f16798d876 Mon Sep 17 00:00:00 2001
From: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 29 Feb 2004 20:07:14 +0000
Subject: [PATCH] set the associated function for unjustify to 0 instead of
 do_uncut_text(), since it's currently unused

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

diff --git a/ChangeLog b/ChangeLog
index d240b3f7..de12d39b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -47,6 +47,8 @@ CVS code -
 - global.c:
   shortcut_init()
 	- Only allow verbatim input when we're not in view mode. (DLR)
+	- Set the associated function for unjustify to 0 instead of
+	  do_uncut_text(), since it's currently unused. (DLR)
 - nano.c:
   usage()
 	- Clarify the description for -T/--tabsize a bit. (DLR)
diff --git a/src/global.c b/src/global.c
index 34d27aa0..3f9366ca 100644
--- a/src/global.c
+++ b/src/global.c
@@ -499,7 +499,7 @@ void shortcut_init(int unjustify)
     /* Translators: try to keep this string under 10 characters long */
 	sc_init_one(&main_list, NANO_UNJUSTIFY_KEY, _("UnJustify"),
 		IFHELP(nano_unjustify_msg, NANO_NO_KEY), NANO_UNJUSTIFY_FKEY,
-		NANO_NO_KEY, NOVIEW, do_uncut_text);
+		NANO_NO_KEY, NOVIEW, 0);
     else
     /* Translators: try to keep this string under 10 characters long */
 	sc_init_one(&main_list, NANO_UNCUT_KEY, _("UnCut Txt"),
-- 
GitLab