Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
04a230f9
Commit
04a230f9
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: avoid a warning when configured with --disable-wrapping
parent
71e452ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/nano.c
+4
-0
src/nano.c
with
4 additions
and
0 deletions
+4
-0
src/nano.c
View file @
04a230f9
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment