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
c7282e88
Commit
c7282e88
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: reshuffle two declarations for a more consistent order
parent
1f9a6ab3
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/move.c
+2
-2
src/move.c
with
2 additions
and
2 deletions
+2
-2
src/move.c
View file @
c7282e88
...
...
@@ -352,8 +352,8 @@ void do_next_word_void(void)
* If be_clever is FALSE, just do a simple home. */
void
do_home
(
bool
be_clever
)
{
size_t
was_column
=
xplustabs
();
filestruct
*
was_current
=
openfile
->
current
;
size_t
was_column
=
xplustabs
();
bool
moved_off_chunk
=
TRUE
;
#ifndef NANO_TINY
bool
moved
=
FALSE
;
...
...
@@ -415,9 +415,9 @@ void do_home_void(void)
* it's possible. If be_clever is FALSE, just do a simple end. */
void
do_end
(
bool
be_clever
)
{
filestruct
*
was_current
=
openfile
->
current
;
size_t
was_column
=
xplustabs
();
size_t
line_len
=
strlen
(
openfile
->
current
->
data
);
filestruct
*
was_current
=
openfile
->
current
;
bool
moved_off_chunk
=
TRUE
;
#ifndef NANO_TINY
...
...
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