From: David Lawrence Ramsey Date: Thu, 16 Jun 2005 01:56:51 +0000 (+0000) Subject: cosmetic fix X-Git-Tag: v1.3.8~113 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=77d0feae05dac3f7ba9e5117991e36e753942d3e;p=nano.git cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2690 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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