Skip to content
GitLab
Menu
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
34e086f0
Commit
34e086f0
authored
8 years ago
by
David Lawrence Ramsey
Committed by
Benno Schulenberg
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: rename a variable in edit_redraw(), to make sense
parent
f2ac2011
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/winio.c
+5
-5
src/winio.c
with
5 additions
and
5 deletions
+5
-5
src/winio.c
View file @
34e086f0
...
...
@@ -2894,13 +2894,13 @@ void edit_redraw(filestruct *old_current)
#ifndef NANO_TINY
/* If the mark is on, update all lines between old_current and current. */
if
(
openfile
->
mark_set
)
{
filestruct
*
foo
=
old_current
;
filestruct
*
line
=
old_current
;
while
(
foo
!=
openfile
->
current
)
{
update_line
(
foo
,
0
);
while
(
line
!=
openfile
->
current
)
{
update_line
(
line
,
0
);
foo
=
(
foo
->
lineno
>
openfile
->
current
->
lineno
)
?
foo
->
prev
:
foo
->
next
;
line
=
(
line
->
lineno
>
openfile
->
current
->
lineno
)
?
line
->
prev
:
line
->
next
;
}
}
else
#endif
...
...
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