help: don't crash when nano was started with --noread

There is no need to restore NOREAD_MODE after unsetting it, because
any files mentioned on the command line have already been /not/ read.
This commit is contained in:
Benno Schulenberg
2016-12-25 12:14:25 +01:00
parent 8de4b7aaeb
commit 3787494c15

View File

@@ -142,6 +142,7 @@ void do_help(void)
}
UNSET(WHITESPACE_DISPLAY);
UNSET(NOREAD_MODE);
bottombars(MHELP);
wnoutrefresh(bottomwin);