Commit 3787494c authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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.
No related merge requests found
Showing with 1 addition and 0 deletions
+1 -0
......@@ -142,6 +142,7 @@ void do_help(void)
}
UNSET(WHITESPACE_DISPLAY);
UNSET(NOREAD_MODE);
bottombars(MHELP);
wnoutrefresh(bottomwin);
......
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