Commit 7e65d2f5 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

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
parent 9caa193f
Showing with 2 additions and 6 deletions
+2 -6
......@@ -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
......
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