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.
master
Benno Schulenberg 2016-12-25 12:14:25 +01:00
parent 8de4b7aaeb
commit 3787494c15
1 changed files with 1 additions and 0 deletions

View File

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