tweaks: remove a bit of obscuring conditional compilation
parent
72e8bcb027
commit
e4b8d6fab5
13
src/text.c
13
src/text.c
|
@ -1984,11 +1984,8 @@ bool begpar(const filestruct *const foo)
|
||||||
|
|
||||||
/* Case 2) or 5) or 4). */
|
/* Case 2) or 5) or 4). */
|
||||||
if (foo->prev->data[quote_len + temp_id_len] == '\0' ||
|
if (foo->prev->data[quote_len + temp_id_len] == '\0' ||
|
||||||
(quote_len == 0 && indent_len > 0
|
(quote_len == 0 && indent_len > 0 && !ISSET(AUTOINDENT)) ||
|
||||||
#ifndef NANO_TINY
|
!indents_match(foo->prev->data + quote_len, temp_id_len,
|
||||||
&& !ISSET(AUTOINDENT)
|
|
||||||
#endif
|
|
||||||
) || !indents_match(foo->prev->data + quote_len, temp_id_len,
|
|
||||||
foo->data + quote_len, indent_len))
|
foo->data + quote_len, indent_len))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
@ -2408,11 +2405,7 @@ void do_justify(bool full_justify)
|
||||||
/* If this paragraph is non-quoted, and autoindent isn't
|
/* If this paragraph is non-quoted, and autoindent isn't
|
||||||
* turned on, set the indentation length to zero so that the
|
* turned on, set the indentation length to zero so that the
|
||||||
* indentation is treated as part of the line. */
|
* indentation is treated as part of the line. */
|
||||||
if (quote_len == 0
|
if (quote_len == 0 && !ISSET(AUTOINDENT))
|
||||||
#ifndef NANO_TINY
|
|
||||||
&& !ISSET(AUTOINDENT)
|
|
||||||
#endif
|
|
||||||
)
|
|
||||||
indent_len = 0;
|
indent_len = 0;
|
||||||
|
|
||||||
/* Insert a new line after the current one. */
|
/* Insert a new line after the current one. */
|
||||||
|
|
Loading…
Reference in New Issue