From 70feb4f8e598f81db34b60590d581340102eca40 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Mon, 8 Apr 2002 17:48:15 +0000 Subject: [PATCH] Back that out, as it braks Linux :( git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1172 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 -- global.c | 2 +- nano.c | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index f0db883a..c3ba93ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,8 +4,6 @@ CVS code - - Allow --tiny and --multibuffer to cooperate (who the heck would want this is beyond me but ;-). Changes to configure.ac, global.c, , (David Benbennick). - - FreeBSD compat. Remove KEY_DC from the delete shortcut in - global.c:shortcut_init(), add case for 330 under nano.c:main(). - configure.ac: - Define NDEBUG to silence asserts (David Benbennick). - files.c: diff --git a/global.c b/global.c index f3ed1f68..a46b4b3e 100644 --- a/global.c +++ b/global.c @@ -453,7 +453,7 @@ void shortcut_init(int unjustify) nano_mark_msg, NANO_ALT_MARK_KEY, 0, 0, NOVIEW, do_mark); sc_init_one(&main_list, NANO_DELETE_KEY, _("Delete"), - nano_delete_msg, 0, 0, + nano_delete_msg, 0, KEY_DC, NANO_CONTROL_D, NOVIEW, do_delete); sc_init_one(&main_list, NANO_BACKSPACE_KEY, _("Backspace"), diff --git a/nano.c b/nano.c index 22238efa..72ac3c17 100644 --- a/nano.c +++ b/nano.c @@ -3332,9 +3332,6 @@ int main(int argc, char *argv[]) case 545: /* Right alt key */ #endif - break; - case 330: /* Delete key in *BSD with keypad() */ - do_backspace(); break; default: #ifdef DEBUG -- 2.39.5