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
parent
4c6ce3c39d
commit
dcb072d04b
|
@ -458,11 +458,12 @@ void show_help(void)
|
||||||
/* Show the cursor when we searched and found something. */
|
/* Show the cursor when we searched and found something. */
|
||||||
kbinput = get_kbinput(edit, didfind == 1 || ISSET(SHOW_CURSOR));
|
kbinput = get_kbinput(edit, didfind == 1 || ISSET(SHOW_CURSOR));
|
||||||
|
|
||||||
openfile->mark = NULL;
|
|
||||||
hide_cursor = FALSE;
|
|
||||||
didfind = 0;
|
didfind = 0;
|
||||||
|
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
|
openfile->mark = NULL;
|
||||||
|
hide_cursor = FALSE;
|
||||||
|
|
||||||
if (bracketed_paste || kbinput == BRACKETED_PASTE_MARKER) {
|
if (bracketed_paste || kbinput == BRACKETED_PASTE_MARKER) {
|
||||||
beep();
|
beep();
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue