cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3322 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2006-03-25 15:23:55 +00:00
parent 354597f0c2
commit e006c5131d
1 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,7 @@
* help.c * * help.c *
* * * *
* Copyright (C) 2000-2004 Chris Allegretta * * Copyright (C) 2000-2004 Chris Allegretta *
* Copyright (C) 2005 David Lawrence Ramsey * * Copyright (C) 2005-2006 David Lawrence Ramsey *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) * * the Free Software Foundation; either version 2, or (at your option) *
@ -267,7 +267,7 @@ void help_init(void)
htx[1] = NULL; htx[1] = NULL;
htx[2] = NULL; htx[2] = NULL;
} }
#endif #endif /* !DISABLE_BROWSER */
#ifndef DISABLE_SPELLER #ifndef DISABLE_SPELLER
else if (currshortcut == spell_list) { else if (currshortcut == spell_list) {
htx[0] = N_("Spell Check Help Text\n\n " htx[0] = N_("Spell Check Help Text\n\n "
@ -282,7 +282,7 @@ void help_init(void)
htx[1] = NULL; htx[1] = NULL;
htx[2] = NULL; htx[2] = NULL;
} }
#endif #endif /* !DISABLE_SPELLER */
#ifndef NANO_TINY #ifndef NANO_TINY
else if (currshortcut == extcmd_list) { else if (currshortcut == extcmd_list) {
htx[0] = N_("Execute Command Help Text\n\n " htx[0] = N_("Execute Command Help Text\n\n "
@ -295,7 +295,7 @@ void help_init(void)
htx[1] = NULL; htx[1] = NULL;
htx[2] = NULL; htx[2] = NULL;
} }
#endif #endif /* !NANO_TINY */
else { else {
/* Default to the main help list. */ /* Default to the main help list. */
htx[0] = N_(" nano help text\n\n " htx[0] = N_(" nano help text\n\n "
@ -471,7 +471,6 @@ void help_init(void)
/* And the toggles... */ /* And the toggles... */
if (currshortcut == main_list) { if (currshortcut == main_list) {
for (t = toggles; t != NULL; t = t->next) { for (t = toggles; t != NULL; t = t->next) {
assert(t->desc != NULL); assert(t->desc != NULL);
ptr += sprintf(ptr, "M-%c\t\t\t%s %s\n", toupper(t->val), ptr += sprintf(ptr, "M-%c\t\t\t%s %s\n", toupper(t->val),