mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-16 22:39:21 +03:00
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.
This commit is contained in:
parent
4c6ce3c39d
commit
dcb072d04b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user