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
925ad639
Commit
925ad639
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: remove a superfluous setting, and add a comment
parent
3264d0c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/move.c
+4
-2
src/move.c
with
4 additions
and
2 deletions
+4
-2
src/move.c
View file @
925ad639
...
...
@@ -28,7 +28,7 @@
/* Move to the first line of the file. */
void
do_first_line
(
void
)
{
openfile
->
current
=
openfile
->
edittop
=
openfile
->
fileage
;
openfile
->
current
=
openfile
->
fileage
;
openfile
->
current_x
=
0
;
openfile
->
placewewant
=
0
;
...
...
@@ -41,6 +41,8 @@ void do_last_line(void)
openfile
->
current
=
openfile
->
filebot
;
openfile
->
current_x
=
strlen
(
openfile
->
filebot
->
data
);
openfile
->
placewewant
=
xplustabs
();
/* Set the last line of the screen as the target for the cursor. */
openfile
->
current_y
=
editwinrows
-
1
;
refresh_needed
=
TRUE
;
...
...
@@ -177,7 +179,7 @@ void do_para_begin_void(void)
* paragraph or isn't in a paragraph. */
void
do_para_end
(
bool
allow_update
)
{
filestruct
*
const
current_save
=
openfile
->
current
;
filestruct
*
current_save
=
openfile
->
current
;
while
(
openfile
->
current
!=
openfile
->
filebot
&&
!
inpar
(
openfile
->
current
))
...
...
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