Commit e4b8d6fa authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: remove a bit of obscuring conditional compilation

parent 72e8bcb0
No related merge requests found
Showing with 4 additions and 11 deletions
+4 -11
...@@ -1984,11 +1984,8 @@ bool begpar(const filestruct *const foo) ...@@ -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) ...@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment