1
1

tweaks: exclude an unneeded fragment of code from the tiny version

Этот коммит содержится в:
Benno Schulenberg 2020-01-14 16:28:28 +01:00
родитель a81ba0215a
Коммит 27127853db

Просмотреть файл

@ -1745,8 +1745,10 @@ int main(int argc, char **argv)
bool fill_used = FALSE; bool fill_used = FALSE;
/* Was the fill option used on the command line? */ /* Was the fill option used on the command line? */
#endif #endif
#ifdef ENABLE_WRAPPING
int hardwrap = -2; int hardwrap = -2;
/* Becomes 0 when --nowrap and 1 when --breaklonglines is used. */ /* Becomes 0 when --nowrap and 1 when --breaklonglines is used. */
#endif
#ifdef ENABLE_JUSTIFY #ifdef ENABLE_JUSTIFY
int quoterc; int quoterc;
/* Whether the quoting regex was compiled successfully. */ /* Whether the quoting regex was compiled successfully. */
@ -2221,10 +2223,12 @@ int main(int argc, char **argv)
} }
#endif /* ENABLE_NANORC */ #endif /* ENABLE_NANORC */
#ifdef ENABLE_WRAPPING
if (hardwrap == 0) if (hardwrap == 0)
UNSET(BREAK_LONG_LINES); UNSET(BREAK_LONG_LINES);
else if (hardwrap == 1) else if (hardwrap == 1)
SET(BREAK_LONG_LINES); SET(BREAK_LONG_LINES);
#endif
/* If the user wants bold instead of reverse video for hilited text... */ /* If the user wants bold instead of reverse video for hilited text... */
if (ISSET(BOLD_TEXT)) if (ISSET(BOLD_TEXT))