diff --git a/src/chars.c b/src/chars.c index 4321281b..ae807a7b 100644 --- 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 index b0996d40..b6841634 100644 --- 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