From e006c5131d0153e8b71533423a99db5758b630c0 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 25 Mar 2006 15:23:55 +0000 Subject: [PATCH] cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3322 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/help.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/help.c b/src/help.c index 1aa17659..cc707358 100644 --- a/src/help.c +++ b/src/help.c @@ -3,7 +3,7 @@ * help.c * * * * 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 * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2, or (at your option) * @@ -267,7 +267,7 @@ void help_init(void) htx[1] = NULL; htx[2] = NULL; } -#endif +#endif /* !DISABLE_BROWSER */ #ifndef DISABLE_SPELLER else if (currshortcut == spell_list) { htx[0] = N_("Spell Check Help Text\n\n " @@ -282,7 +282,7 @@ void help_init(void) htx[1] = NULL; htx[2] = NULL; } -#endif +#endif /* !DISABLE_SPELLER */ #ifndef NANO_TINY else if (currshortcut == extcmd_list) { htx[0] = N_("Execute Command Help Text\n\n " @@ -295,7 +295,7 @@ void help_init(void) htx[1] = NULL; htx[2] = NULL; } -#endif +#endif /* !NANO_TINY */ else { /* Default to the main help list. */ htx[0] = N_(" nano help text\n\n " @@ -471,7 +471,6 @@ void help_init(void) /* And the toggles... */ if (currshortcut == main_list) { for (t = toggles; t != NULL; t = t->next) { - assert(t->desc != NULL); ptr += sprintf(ptr, "M-%c\t\t\t%s %s\n", toupper(t->val),