Commit e006c513 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3322 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 5 deletions
+4 -5
...@@ -3,7 +3,7 @@ ...@@ -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) ...@@ -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) ...@@ -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) ...@@ -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) ...@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment