diff --git a/ChangeLog b/ChangeLog index d240b3f7ac1850e8986f5b900c0f4ef1ab3fee34..de12d39b11bf8f31c2411e5c78e603d361bda7c5 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 34d27aa04b072b85ffa8319f33a22419958dd87a..3f9366ca3f5dc6b3dd36657b3fe12cf578865039 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"),