formatting fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3317 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
572207da79
commit
017dde2c81
30
src/global.c
30
src/global.c
|
@ -426,7 +426,7 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
@ -435,8 +435,7 @@ void shortcut_init(bool unjustify)
|
||||||
/* Translators: try to keep this string under 10 characters long. */
|
/* Translators: try to keep this string under 10 characters long. */
|
||||||
sc_init_one(&main_list, NANO_EXIT_KEY,
|
sc_init_one(&main_list, NANO_EXIT_KEY,
|
||||||
#ifdef ENABLE_MULTIBUFFER
|
#ifdef ENABLE_MULTIBUFFER
|
||||||
openfile != NULL && openfile != openfile->next ?
|
openfile != NULL && openfile != openfile->next ? N_("Close") :
|
||||||
N_("Close") :
|
|
||||||
#endif
|
#endif
|
||||||
exit_msg, IFHELP(nano_exit_msg, NANO_NO_KEY), NANO_EXIT_FKEY,
|
exit_msg, IFHELP(nano_exit_msg, NANO_NO_KEY), NANO_EXIT_FKEY,
|
||||||
NANO_NO_KEY, VIEW, do_exit);
|
NANO_NO_KEY, VIEW, do_exit);
|
||||||
|
@ -472,8 +471,7 @@ void shortcut_init(bool unjustify)
|
||||||
#else
|
#else
|
||||||
NOVIEW
|
NOVIEW
|
||||||
#endif
|
#endif
|
||||||
, !ISSET(RESTRICTED) ? do_insertfile_void :
|
, !ISSET(RESTRICTED) ? do_insertfile_void : nano_disabled_msg);
|
||||||
nano_disabled_msg);
|
|
||||||
|
|
||||||
/* Translators: try to keep this string under 10 characters long. */
|
/* Translators: try to keep this string under 10 characters long. */
|
||||||
sc_init_one(&main_list, NANO_WHEREIS_KEY, N_("Where Is"),
|
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,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
@ -747,7 +745,7 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
@ -802,7 +800,7 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
@ -832,7 +830,7 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
@ -860,7 +858,7 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
@ -928,15 +926,15 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
|
|
||||||
sc_init_one(&insertfile_list, NANO_CANCEL_KEY, cancel_msg,
|
sc_init_one(&insertfile_list, NANO_CANCEL_KEY, cancel_msg,
|
||||||
IFHELP(nano_cancel_msg, NANO_NO_KEY), NANO_NO_KEY,
|
IFHELP(nano_cancel_msg, NANO_NO_KEY), NANO_NO_KEY, NANO_NO_KEY,
|
||||||
NANO_NO_KEY, VIEW, NULL);
|
VIEW, NULL);
|
||||||
|
|
||||||
#ifndef DISABLE_BROWSER
|
#ifndef DISABLE_BROWSER
|
||||||
/* If we're using restricted mode, the file browser is disabled.
|
/* 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,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
@ -1032,7 +1030,7 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
@ -1073,7 +1071,7 @@ void shortcut_init(bool unjustify)
|
||||||
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
IFHELP(nano_help_msg, NANO_NO_KEY), NANO_HELP_FKEY,
|
||||||
NANO_NO_KEY, VIEW,
|
NANO_NO_KEY, VIEW,
|
||||||
#ifndef DISABLE_HELP
|
#ifndef DISABLE_HELP
|
||||||
do_help
|
do_help_void
|
||||||
#else
|
#else
|
||||||
nano_disabled_msg
|
nano_disabled_msg
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue