From 6ae18debc04dd13eade6226d481abaa532c1dedf Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 7 Sep 2001 23:00:37 +0000 Subject: [PATCH] RDB also points out we don't need the CJK `not recommended for general use' wcwidth function, so we condition it out to save space. git-svn-id: svn://svn.tartarus.org/sgt/putty@1248 cda61777-01e9-0310-a592-d414129be87e --- wcwidth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcwidth.c b/wcwidth.c index 9f231112..f76fd862 100644 --- a/wcwidth.c +++ b/wcwidth.c @@ -144,7 +144,7 @@ int wcswidth(const wchar_t *pwcs, size_t n) return width; } - +#if 0 /* RDB: we don't need the cjk version */ /* * The following function is the same as wcwidth(), except that * spacing characters in the East Asian Ambiguous (A) category as @@ -231,3 +231,4 @@ int wcswidth_cjk(const wchar_t *pwcs, size_t n) return width; } +#endif -- 2.11.0