From 83ba47a964b9df0c414e38644d24be26bd2c4d01 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 24 Jan 2005 01:21:09 +0000 Subject: [PATCH] add another cleanup git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2297 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/chars.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/chars.c b/src/chars.c index 8c92908e..6b56a96c 100644 --- a/src/chars.c +++ b/src/chars.c @@ -348,11 +348,7 @@ int parse_mbchar(const char *buf, char *chr * and the width in columns of its visible equivalent as * returned by control_rep(). */ else if (is_cntrl_mbchar(buf)) { - char *ctrl_buf_mb = -#ifdef NANO_WIDE - !ISSET(NO_UTF8) ? charalloc(MB_CUR_MAX) : -#endif - charalloc(1); + char *ctrl_buf_mb = charalloc(MB_CUR_MAX); int ctrl_buf_mb_len; (*col)++; -- 2.39.5