build: fix compilation for --enable-{tiny,help,multibuffer}

The mark is not available in the tiny version,
nor can the cursor get hidden by --markmatch.
master
Benno Schulenberg 2021-01-11 13:22:15 +01:00
parent 4c6ce3c39d
commit dcb072d04b
1 changed files with 3 additions and 2 deletions

View File

@ -458,11 +458,12 @@ void show_help(void)
/* Show the cursor when we searched and found something. */
kbinput = get_kbinput(edit, didfind == 1 || ISSET(SHOW_CURSOR));
openfile->mark = NULL;
hide_cursor = FALSE;
didfind = 0;
#ifndef NANO_TINY
openfile->mark = NULL;
hide_cursor = FALSE;
if (bracketed_paste || kbinput == BRACKETED_PASTE_MARKER) {
beep();
continue;