diff --git a/src/nano.c b/src/nano.c index 152f809ebe80c57f30f6810d28a9da7df14d0ce5..a4984f0168741c4f4c27581f30bc41c7db6dda23 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1958,9 +1958,11 @@ int main(int argc, char **argv) #ifndef DISABLE_WRAPJUSTIFY bool fill_used = FALSE; /* Was the fill option used on the command line? */ +#ifndef DISABLE_WRAPPING bool forced_wrapping = FALSE; /* Should long lines be automatically hard wrapped? */ #endif +#endif #ifndef DISABLE_MULTIBUFFER bool old_multibuffer; /* The old value of the multibuffer option, restored after we @@ -2222,7 +2224,9 @@ int main(int argc, char **argv) exit(1); } fill_used = TRUE; +#ifndef DISABLE_WRAPPING forced_wrapping = TRUE; +#endif break; #endif #ifndef DISABLE_SPELLER