From: David Lawrence Ramsey Date: Sun, 7 Nov 2004 16:04:18 +0000 (+0000) Subject: in the search prompt shortcut list, move "Full Justify" to after X-Git-Tag: v1.3.5~40 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=02085d7b92a4ddb0555f375ebc78a3e067fcfecf;p=nano.git in the search prompt shortcut list, move "Full Justify" to after "History", so that the latter is visible onscreen again git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2080 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index ddea5d5a..69930812 100644 --- a/ChangeLog +++ b/ChangeLog @@ -171,6 +171,9 @@ CVS code - - Leave "Mark Text" and "Where Is Next" out entirely when NANO_SMALL is defined. Since they aren't in the visible main list, there's no point in having them in but disabled. (DLR) + - In the search prompt shortcut list, move "Full Justify" to + after "History", so that the latter is visible onscreen + again. (DLR) - nano.c: die_save_file() - Clarify the error message when there are too many backup files diff --git a/src/global.c b/src/global.c index 9dff642a..b17b5ecb 100644 --- a/src/global.c +++ b/src/global.c @@ -629,11 +629,6 @@ void shortcut_init(int unjustify) sc_init_one(&whereis_list, NANO_PARAEND_KEY, end_of_par_msg, IFHELP(nano_paraend_msg, NANO_PARAEND_ALTKEY1), NANO_NO_KEY, NANO_PARAEND_ALTKEY2, VIEW, do_para_end); - - /* Translators: try to keep this string under 10 characters long */ - sc_init_one(&whereis_list, NANO_FULLJUSTIFY_KEY, fulljstify_msg, - IFHELP(nano_fulljustify_msg, NANO_FULLJUSTIFY_ALTKEY), - NANO_NO_KEY, NANO_NO_KEY, NOVIEW, do_full_justify); #endif #ifndef NANO_SMALL @@ -658,6 +653,13 @@ void shortcut_init(int unjustify) sc_init_one(&whereis_list, NANO_HISTORY_KEY, history_msg, IFHELP(nano_editstr_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY, VIEW, 0); + +#ifndef DISABLE_JUSTIFY + /* Translators: try to keep this string under 10 characters long */ + sc_init_one(&whereis_list, NANO_FULLJUSTIFY_KEY, fulljstify_msg, + IFHELP(nano_fulljustify_msg, NANO_FULLJUSTIFY_ALTKEY), + NANO_NO_KEY, NANO_NO_KEY, NOVIEW, do_full_justify); +#endif #endif /* !NANO_SMALL */ free_shortcutage(&replace_list);