From 77d0feae05dac3f7ba9e5117991e36e753942d3e Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 16 Jun 2005 01:56:51 +0000 Subject: [PATCH] cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2690 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/chars.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chars.c b/src/chars.c index a42f53dd..3f6421a5 100644 --- a/src/chars.c +++ b/src/chars.c @@ -857,7 +857,7 @@ bool is_valid_mbstring(const char *s) return #ifdef NANO_WIDE - (!ISSET(NO_UTF8)) ? + !ISSET(NO_UTF8) ? (mbstowcs(NULL, s, (size_t)-1) != (size_t)-1) : #endif -- 2.39.5