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
d02c1993
Commit
d02c1993
authored
7 years ago
by
David Lawrence Ramsey
Committed by
Benno Schulenberg
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
text: normalize the indentation in do_indent() and do_unindent()
Also remove one unneeded blank line.
parent
42f5a84c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/text.c
+75
-76
src/text.c
with
75 additions
and
76 deletions
+75
-76
src/text.c
View file @
d02c1993
...
...
@@ -403,7 +403,6 @@ void do_unindent(ssize_t cols)
for
(
f
=
top
;
f
!=
bot
->
next
;
f
=
f
->
next
)
{
size_t
line_len
=
strlen
(
f
->
data
);
size_t
indent_len
=
indent_length
(
f
->
data
);
size_t
indent_col
=
strnlenpt
(
f
->
data
,
indent_len
);
/* The length in columns of the indentation on this line. */
...
...
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