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
f3c4dadc
Commit
f3c4dadc
authored
6 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
build: fix compilation with --enable-{tiny,help,multibuffer}
parent
20d1823d
master
feature/match-parens
refactor/readbility
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/move.c
+7
-4
src/move.c
src/proto.h
+1
-1
src/proto.h
with
8 additions
and
5 deletions
+8
-5
src/move.c
View file @
f3c4dadc
...
...
@@ -521,7 +521,7 @@ void do_down(void)
openfile
->
placewewant
=
leftedge
+
target_column
;
}
#if
n
def NA
NO_TINY
#ifdef
E
NA
BLE_HELP
/* Scroll up one line or chunk without scrolling the cursor. */
void
do_scroll_up
(
void
)
{
...
...
@@ -541,9 +541,12 @@ void do_scroll_down(void)
if
(
openfile
->
current_y
==
0
)
do_down
();
if
(
openfile
->
edittop
->
next
!=
NULL
||
chunk_for
(
openfile
->
firstcolumn
,
openfile
->
edittop
)
<
number_of_chunks_in
(
openfile
->
edittop
))
if
(
openfile
->
edittop
->
next
!=
NULL
#ifndef NANO_TINY
||
chunk_for
(
openfile
->
firstcolumn
,
openfile
->
edittop
)
<
number_of_chunks_in
(
openfile
->
edittop
)
#endif
)
edit_scroll
(
FORWARD
);
}
#endif
...
...
This diff is collapsed.
Click to expand it.
src/proto.h
View file @
f3c4dadc
...
...
@@ -387,7 +387,7 @@ void do_home(void);
void
do_end
(
void
);
void
do_up
(
void
);
void
do_down
(
void
);
#if
n
def NA
NO_TINY
#ifdef
E
NA
BLE_HELP
void
do_scroll_up
(
void
);
void
do_scroll_down
(
void
);
#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
Menu
Projects
Groups
Snippets
Help