build: fix compilation when configured with --disable-comment
This fixes https://savannah.gnu.org/bugs/?63372. Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Problem existed since version 7.0, commit 4b928b46.
This commit is contained in:
parent
e26fe9bddd
commit
4b4b20f8a9
@ -1395,11 +1395,14 @@ bool changes_something(const void *f)
|
|||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
f == chop_previous_word || f == chop_next_word ||
|
f == chop_previous_word || f == chop_next_word ||
|
||||||
f == zap_text || f == cut_till_eof || f == do_execute ||
|
f == zap_text || f == cut_till_eof || f == do_execute ||
|
||||||
f == do_indent || f == do_unindent || f == do_comment ||
|
f == do_indent || f == do_unindent ||
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_JUSTIFY
|
#ifdef ENABLE_JUSTIFY
|
||||||
f == do_justify || f == do_full_justify ||
|
f == do_justify || f == do_full_justify ||
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef ENABLE_COMMENT
|
||||||
|
f == do_comment ||
|
||||||
|
#endif
|
||||||
#ifdef ENABLE_SPELLER
|
#ifdef ENABLE_SPELLER
|
||||||
f == do_spell ||
|
f == do_spell ||
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user