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
5ca765f1
Commit
5ca765f1
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: discard some conditional compilation
parent
cf75da98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cut.c
+1
-4
src/cut.c
src/files.c
+3
-6
src/files.c
with
4 additions
and
10 deletions
+4
-10
src/cut.c
View file @
5ca765f1
...
...
@@ -287,10 +287,7 @@ void do_uncut_text(void)
/* Update the cursor position to account for the inserted lines. */
reset_cursor
();
#ifndef NANO_TINY
if
(
ISSET
(
SOFTWRAP
))
ensure_line_is_visible
();
#endif
ensure_line_is_visible
();
refresh_needed
=
TRUE
;
...
...
This diff is collapsed.
Click to expand it.
src/files.c
View file @
5ca765f1
...
...
@@ -1278,14 +1278,11 @@ void do_insertfile(void)
openfile
->
current_x
!=
was_current_x
)
set_modified
();
/* Update the cursor position to account for the number
* of lines inserted. */
/* Update the cursor position to account for inserted lines. */
reset_cursor
();
#ifndef NANO_TINY
if
(
ISSET
(
SOFTWRAP
))
ensure_line_is_visible
();
#endif
ensure_line_is_visible
();
refresh_needed
=
TRUE
;
}
...
...
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