nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit ea43a1dbcaa811f9a4c4fe818fb9419a8a3456b6
parent b34c683f3f1df020ead90edaa6fdc3a42eaaa470
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue,  2 Mar 2004 22:52:57 +0000

cosmetic #ifdef tweak


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1678 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/global.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/global.c b/src/global.c @@ -428,10 +428,10 @@ void shortcut_init(int unjustify) /* The following macro is to be used in calling sc_init_one. The point is * that sc_init_one takes 9 arguments, unless DISABLE_HELP is defined, * when the fourth one should not be there. */ -#ifdef DISABLE_HELP -# define IFHELP(help, nextvar) nextvar -#else +#ifndef DISABLE_HELP # define IFHELP(help, nextvar) help, nextvar +#else +# define IFHELP(help, nextvar) nextvar #endif /* Translators: try to keep this string under 10 characters long */