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
b26aaa7e
Commit
b26aaa7e
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
screen: fix compilation when configured with --enable-tiny
parent
9330aa60
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/winio.c
+6
-8
src/winio.c
with
6 additions
and
8 deletions
+6
-8
src/winio.c
View file @
b26aaa7e
...
...
@@ -2970,14 +2970,12 @@ void edit_redraw(filestruct *old_current)
foo
=
(
foo
->
lineno
>
openfile
->
current
->
lineno
)
?
foo
->
prev
:
foo
->
next
;
}
}
#endif
/* !NANO_TINY */
/* Update old_current only if it differs from current, and if not
* already done above, and if it was horizontally scrolled. */
if
(
old_current
!=
openfile
->
current
&&
!
openfile
->
mark_set
&&
get_page_start
(
was_pww
)
>
0
)
update_line
(
old_current
,
0
);
}
else
#endif
/* Otherwise, update old_current only if it differs from current
* and was horizontally scrolled. */
if
(
old_current
!=
openfile
->
current
&&
get_page_start
(
was_pww
)
>
0
)
update_line
(
old_current
,
0
);
/* Update current if we've changed page, or if it differs from
* old_current and needs to be horizontally scrolled. */
...
...
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