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
e4b8d6fa
Commit
e4b8d6fa
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: remove a bit of obscuring conditional compilation
parent
72e8bcb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/text.c
+4
-11
src/text.c
with
4 additions
and
11 deletions
+4
-11
src/text.c
View file @
e4b8d6fa
...
...
@@ -1984,12 +1984,9 @@ bool begpar(const filestruct *const foo)
/* Case 2) or 5) or 4). */
if
(
foo
->
prev
->
data
[
quote_len
+
temp_id_len
]
==
'\0'
||
(
quote_len
==
0
&&
indent_len
>
0
#ifndef NANO_TINY
&&
!
ISSET
(
AUTOINDENT
)
#endif
)
||
!
indents_match
(
foo
->
prev
->
data
+
quote_len
,
temp_id_len
,
foo
->
data
+
quote_len
,
indent_len
))
(
quote_len
==
0
&&
indent_len
>
0
&&
!
ISSET
(
AUTOINDENT
))
||
!
indents_match
(
foo
->
prev
->
data
+
quote_len
,
temp_id_len
,
foo
->
data
+
quote_len
,
indent_len
))
return
TRUE
;
return
FALSE
;
...
...
@@ -2408,11 +2405,7 @@ void do_justify(bool full_justify)
/* If this paragraph is non-quoted, and autoindent isn't
* turned on, set the indentation length to zero so that the
* indentation is treated as part of the line. */
if
(
quote_len
==
0
#ifndef NANO_TINY
&&
!
ISSET
(
AUTOINDENT
)
#endif
)
if
(
quote_len
==
0
&&
!
ISSET
(
AUTOINDENT
))
indent_len
=
0
;
/* Insert a new line after the current one. */
...
...
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