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"),