From e4b8d6fab53c36c8b480df658e83ae7c37335815 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 30 Nov 2016 11:46:05 +0100 Subject: [PATCH] tweaks: remove a bit of obscuring conditional compilation --- src/text.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/src/text.c b/src/text.c index d75a47e6..01523de8 100644 --- a/src/text.c +++ b/src/text.c @@ -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. */