nano

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

commit 7d7e7d58ada2c28976bc4fd70a90efb9cd91efc8
parent f0195a8839ed163830d31ebf697769ab1b7186c9
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon, 14 Mar 2005 18:54:33 +0000

fix erroneous #ifdef


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

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

diff --git a/src/chars.c b/src/chars.c @@ -301,7 +301,7 @@ char *make_mbchar(int chr, int *chr_mb_len) return chr_mb; } -#if !defined(NANO_SMALL) && defined(ENABLE_NANORC) +#ifdef ENABLE_NANORC /* Convert the string str to a valid multibyte string with the same wide * character values as str. Return the (dynamically allocated) * multibyte string. */ diff --git a/src/proto.h b/src/proto.h @@ -175,7 +175,7 @@ wchar_t control_wrep(wchar_t c); int mbwidth(const char *c); int mb_cur_max(void); char *make_mbchar(int chr, int *chr_mb_len); -#if !defined(NANO_SMALL) && defined(ENABLE_NANORC) +#ifdef ENABLE_NANORC char *make_mbstring(char *str); #endif int parse_mbchar(const char *buf, char *chr, bool *bad_chr, size_t