nano

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

commit 95778fda7026dd00c661d84eb44dc5dc0eecc554
parent dac3bca274c25bb15842ec0ebbaa526b50d52b85
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Thu,  2 Jun 2005 02:27:12 +0000

fix mismatched #ifdefs


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

Diffstat:
Msrc/proto.h | 2+-
Msrc/search.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/proto.h b/src/proto.h @@ -524,7 +524,7 @@ void do_gotolinecolumn_void(void); void do_gotopos(int line, size_t pos_x, int pos_y, size_t pos_pww); #endif void do_find_bracket(void); -#ifndef NANO_SMALL +#if !defined(NANO_SMALL) && defined(ENABLE_NANORC) bool history_has_changed(void); void history_init(void); filestruct *find_history(filestruct *h, const char *s); diff --git a/src/search.c b/src/search.c @@ -1119,7 +1119,7 @@ void do_find_bracket(void) } #endif -#ifndef NANO_SMALL +#if !defined(NANO_SMALL) && defined(ENABLE_NANORC) /* Indicate whether any of the history lists have changed. */ bool history_has_changed(void) { @@ -1239,4 +1239,4 @@ char *get_history_newer(filestruct **h) return (*h)->data; } -#endif /* !NANO_SMALL */ +#endif /* !NANO_SMALL && ENABLE_NANORC */