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
00b293bf
Commit
00b293bf
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: adjust some braces and indentations
parent
76a960d7
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/move.c
+7
-9
src/move.c
with
7 additions
and
9 deletions
+7
-9
src/move.c
View file @
00b293bf
...
...
@@ -66,13 +66,12 @@ void do_page_up(void)
/* If we're not in smooth scrolling mode, put the cursor at the
* beginning of the top line of the edit window, as Pico does. */
#ifndef NANO_TINY
if
(
!
ISSET
(
SMOOTH_SCROLL
))
{
if
(
!
ISSET
(
SMOOTH_SCROLL
))
#endif
{
openfile
->
current
=
openfile
->
edittop
;
openfile
->
placewewant
=
openfile
->
current_y
=
0
;
#ifndef NANO_TINY
}
#endif
for
(
i
=
editwinrows
-
2
;
i
-
skipped
>
0
&&
openfile
->
current
!=
openfile
->
fileage
;
i
--
)
{
...
...
@@ -116,13 +115,12 @@ void do_page_down(void)
/* If we're not in smooth scrolling mode, put the cursor at the
* beginning of the top line of the edit window, as Pico does. */
#ifndef NANO_TINY
if
(
!
ISSET
(
SMOOTH_SCROLL
))
{
if
(
!
ISSET
(
SMOOTH_SCROLL
))
#endif
{
openfile
->
current
=
openfile
->
edittop
;
openfile
->
placewewant
=
openfile
->
current_y
=
0
;
#ifndef NANO_TINY
}
#endif
for
(
i
=
maxrows
-
2
;
i
>
0
&&
openfile
->
current
!=
openfile
->
filebot
;
i
--
)
{
...
...
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