tweaks: fix compilation when configured with --enable-tiny
parent
c24545fe9a
commit
efdb543f8c
|
@ -579,14 +579,16 @@ ssize_t do_replace_loop(const char *needle, bool whole_word_only,
|
||||||
size_t match_len;
|
size_t match_len;
|
||||||
bool replaceall = FALSE;
|
bool replaceall = FALSE;
|
||||||
bool skipone = FALSE;
|
bool skipone = FALSE;
|
||||||
|
bool mark_was_set = FALSE;
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
bool mark_was_set = openfile->mark_set;
|
|
||||||
filestruct *top, *bot;
|
filestruct *top, *bot;
|
||||||
size_t top_x, bot_x;
|
size_t top_x, bot_x;
|
||||||
bool right_side_up = FALSE;
|
bool right_side_up = FALSE;
|
||||||
/* TRUE if (mark_begin, mark_begin_x) is the top of the mark,
|
/* TRUE if (mark_begin, mark_begin_x) is the top of the mark,
|
||||||
* FALSE if (current, current_x) is. */
|
* FALSE if (current, current_x) is. */
|
||||||
|
|
||||||
|
mark_was_set = openfile->mark_set;
|
||||||
|
|
||||||
/* If the mark is on, frame the region, and turn the mark off. */
|
/* If the mark is on, frame the region, and turn the mark off. */
|
||||||
if (mark_was_set) {
|
if (mark_was_set) {
|
||||||
mark_order((const filestruct **)&top, &top_x,
|
mark_order((const filestruct **)&top, &top_x,
|
||||||
|
|
Loading…
Reference in New Issue