nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ba7b1681a28c53c27095eba7e87ab9f16798d876
parent 588ca6b79e6bd322fc6a21272298f644daebcbfa
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 29 Feb 2004 20:07:14 +0000

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

Diffstat:
MChangeLog | 2++
Msrc/global.c | 2+-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git 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 @@ -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"),