formatting fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3317 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-03-24 05:28:03 +00:00
parent 572207da79
commit 017dde2c81
1 changed files with 43 additions and 45 deletions

View File

@ -426,7 +426,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
@ -435,8 +435,7 @@ void shortcut_init(bool unjustify)
/* Translators: try to keep this string under 10 characters long. */
sc_init_one(&main_list, NANO_EXIT_KEY,
#ifdef ENABLE_MULTIBUFFER
openfile != NULL && openfile != openfile->next ?
N_("Close") :
openfile != NULL && openfile != openfile->next ? N_("Close") :
#endif
exit_msg, IFHELP(nano_exit_msg, NANO_NO_KEY), NANO_EXIT_FKEY,
NANO_NO_KEY, VIEW, do_exit);
@ -472,8 +471,7 @@ void shortcut_init(bool unjustify)
#else
NOVIEW
#endif
, !ISSET(RESTRICTED) ? do_insertfile_void :
nano_disabled_msg);
, !ISSET(RESTRICTED) ? do_insertfile_void : nano_disabled_msg);
/* Translators: try to keep this string under 10 characters long. */
sc_init_one(&main_list, NANO_WHEREIS_KEY, N_("Where Is"),
@ -660,7 +658,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
@ -747,7 +745,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
@ -802,7 +800,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
@ -832,7 +830,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
@ -860,7 +858,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
@ -928,15 +926,15 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
);
sc_init_one(&insertfile_list, NANO_CANCEL_KEY, cancel_msg,
IFHELP(nano_cancel_msg, NANO_NO_KEY), NANO_NO_KEY,
NANO_NO_KEY, VIEW, NULL);
IFHELP(nano_cancel_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
VIEW, NULL);
#ifndef DISABLE_BROWSER
/* If we're using restricted mode, the file browser is disabled.
@ -976,7 +974,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
@ -1032,7 +1030,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif
@ -1073,7 +1071,7 @@ void shortcut_init(bool unjustify)
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
NANO_NO_KEY, VIEW,
#ifndef DISABLE_HELP
do_help
do_help_void
#else
nano_disabled_msg
#endif