tweaks: fix compilation when configured with --enable-tiny

master
David Lawrence Ramsey 2017-02-12 12:12:08 -06:00 committed by Benno Schulenberg
parent c24545fe9a
commit efdb543f8c
1 changed files with 3 additions and 1 deletions

View File

@ -579,14 +579,16 @@ ssize_t do_replace_loop(const char *needle, bool whole_word_only,
size_t match_len;
bool replaceall = FALSE;
bool skipone = FALSE;
bool mark_was_set = FALSE;
#ifndef NANO_TINY
bool mark_was_set = openfile->mark_set;
filestruct *top, *bot;
size_t top_x, bot_x;
bool right_side_up = FALSE;
/* TRUE if (mark_begin, mark_begin_x) is the top of the mark,
* 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 (mark_was_set) {
mark_order((const filestruct **)&top, &top_x,