commit 7e65d2f5ade9f07b3788978c7b4531326b2408b5
parent 9caa193fe1657abda88bdce35b77acac9e290718
Author: Chris Allegretta <chrisa@asty.org>
Date: Fri, 15 Feb 2002 21:12:52 +0000
Get rid of unnecessary stuff in help_init() that was commented out
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1075 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/nano.c b/nano.c
@@ -65,7 +65,7 @@
#ifndef DISABLE_WRAPJUSTIFY
/* Former globals, now static */
int fill = 0;/* Fill - where to wrap lines, basically */
-int wrap_at = 0; /* Right justified fill value, allows resize */
+int wrap_at = 0;/* Right justified fill value, allows resize */
#endif
struct termios oldterm; /* The user's original term settings */
@@ -2420,11 +2420,7 @@ void help_init(void)
toggle *t;
shortcut *s;
-/*
- if (currshortcut = main_list)
- helplen = MAIN_VISIBLE;
- else */
- helplen = length_of_list(currshortcut);
+ helplen = length_of_list(currshortcut);
/* First set up the initial help text for the current function */
if (currshortcut == whereis_list || currshortcut == replace_list