From 7e65d2f5ade9f07b3788978c7b4531326b2408b5 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Fri, 15 Feb 2002 21:12:52 +0000 Subject: [PATCH] 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 --- nano.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nano.c b/nano.c index 105ceedf..eef586aa 100644 --- 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 -- 2.39.5