nano

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

commit bdf84dd8fb40e7180d7dee6a4d25783d9131efb3
parent 1df3e2d0bf6ab2f1a484022ede5909f7799114d1
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 22 Apr 2006 19:52:27 +0000

fix more breakage


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3411 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/global.c | 8++++----
Msrc/nano.h | 4++--
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/global.c b/src/global.c @@ -458,7 +458,7 @@ void shortcut_init(bool unjustify) /* TRANSLATORS: Try to keep this at most 10 characters. */ openfile != NULL && openfile != openfile->next ? N_("Close") : #endif - exit_msg, IFHELP(nano_exit_msg, FALSE), NANO_NO_KEY), + exit_msg, IFHELP(nano_exit_msg, FALSE), NANO_NO_KEY, NANO_EXIT_FKEY, NANO_NO_KEY, VIEW, do_exit); /* TRANSLATORS: Try to keep this at most 10 characters. */ @@ -593,7 +593,7 @@ void shortcut_init(bool unjustify) NANO_NO_KEY, VIEW, do_home); sc_init_one(&main_list, NANO_END_KEY, N_("End"), - IFHELP(nano_end_msg, FALSE), NANO_NO_KEY), NANO_NO_KEY, + IFHELP(nano_end_msg, FALSE), NANO_NO_KEY, NANO_NO_KEY, NANO_NO_KEY, VIEW, do_end); #ifndef DISABLE_JUSTIFY @@ -784,8 +784,8 @@ void shortcut_init(bool unjustify) /* TRANSLATORS: Try to keep this at most 12 characters. */ sc_init_one(&replace_list, NANO_TOOTHERSEARCH_KEY, N_("No Replace"), - IFHELP(nano_whereis_msg, FALSE), NANO_NO_KEY), - NANO_REPLACE_FKEY, NANO_NO_KEY, VIEW, NULL); + IFHELP(nano_whereis_msg, FALSE), NANO_NO_KEY, NANO_REPLACE_FKEY, + NANO_NO_KEY, VIEW, NULL); sc_init_one(&replace_list, NANO_TOGOTOLINE_KEY, go_to_line_msg, IFHELP(nano_gotoline_msg, FALSE), NANO_NO_KEY, diff --git a/src/nano.h b/src/nano.h @@ -557,10 +557,10 @@ typedef struct rcoption { #define NANO_CUTTILLEND_ALTKEY NANO_ALT_T #define NANO_PARABEGIN_KEY NANO_CONTROL_W #define NANO_PARABEGIN_ALTKEY NANO_ALT_LPAREN -#define NANO_PARABEGIN_ALTKEY NANO_ALT_9 +#define NANO_PARABEGIN_ALTKEY2 NANO_ALT_9 #define NANO_PARAEND_KEY NANO_CONTROL_O #define NANO_PARAEND_ALTKEY NANO_ALT_RPAREN -#define NANO_PARAEND_ALTKEY NANO_ALT_0 +#define NANO_PARAEND_ALTKEY2 NANO_ALT_0 #define NANO_FULLJUSTIFY_KEY NANO_CONTROL_U #define NANO_FULLJUSTIFY_ALTKEY NANO_ALT_J #define NANO_VERBATIM_KEY NANO_ALT_V