Commit efdb543f authored by David Lawrence Ramsey's avatar David Lawrence Ramsey Committed by Benno Schulenberg
Browse files

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

No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment