in version(), if DISABLE_WRAPPING is defined, the code in
DISABLE_ROOTWRAP #ifdefs isn't included, so don't display "--disable-wrapping-as-root" in that case git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3216 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
315eb3280a
commit
5453b0accf
|
@ -150,6 +150,10 @@ CVS code -
|
||||||
- Change the description of the Meta-] shortcut to "Find
|
- Change the description of the Meta-] shortcut to "Find
|
||||||
matching bracket", as it's clearer. (DLR)
|
matching bracket", as it's clearer. (DLR)
|
||||||
- nano.c:
|
- nano.c:
|
||||||
|
version()
|
||||||
|
- If DISABLE_WRAPPING is defined, the code in DISABLE_ROOTWRAP
|
||||||
|
#ifdefs isn't included, so don't display
|
||||||
|
"--disable-wrapping-as-root" in that case. (DLR)
|
||||||
do_verbatim_input()
|
do_verbatim_input()
|
||||||
- Move to text.c, since it's an advanced text-based operation.
|
- Move to text.c, since it's an advanced text-based operation.
|
||||||
(DLR)
|
(DLR)
|
||||||
|
|
|
@ -856,7 +856,7 @@ void version(void)
|
||||||
#ifdef DISABLE_WRAPPING
|
#ifdef DISABLE_WRAPPING
|
||||||
printf(" --disable-wrapping");
|
printf(" --disable-wrapping");
|
||||||
#endif
|
#endif
|
||||||
#ifdef DISABLE_ROOTWRAP
|
#if defined(DISABLE_ROOTWRAP) && !defined(DISABLE_WRAPPING)
|
||||||
printf(" --disable-wrapping-as-root");
|
printf(" --disable-wrapping-as-root");
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENABLE_COLOR
|
#ifdef ENABLE_COLOR
|
||||||
|
|
Loading…
Reference in New Issue