From: Chris Allegretta Date: Fri, 15 Feb 2002 21:12:52 +0000 (+0000) Subject: Get rid of unnecessary stuff in help_init() that was commented out X-Git-Tag: v1.1.7~29 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7e65d2f5ade9f07b3788978c7b4531326b2408b5;p=nano.git 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 --- 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