Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
efdb543f
Commit
efdb543f
authored
8 years ago
by
David Lawrence Ramsey
Committed by
Benno Schulenberg
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: fix compilation when configured with --enable-tiny
parent
c24545fe
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/search.c
+3
-1
src/search.c
with
3 additions
and
1 deletion
+3
-1
src/search.c
View file @
efdb543f
...
...
@@ -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
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help