diff --git a/src/chars.c b/src/chars.c index 4321281b02e204fa2453ef0b202c1aa1cb03e6b3..ae807a7b204ce98ef8e01daabf8dd0d5ae225831 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 b0996d40a6f42ad8490bad696ae352abab5c9e37..b6841634e49f577655bdd493986f482cc540577e 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