X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/3e86079f87a6ad5bc7d11d5308c053c900a91ae9..2b34c09c6e5a9d7c7ca9182eebbac6c90840d8c1:/wcwidth.c diff --git a/wcwidth.c b/wcwidth.c index 9f231112..2d7a0935 100644 --- a/wcwidth.c +++ b/wcwidth.c @@ -6,7 +6,7 @@ * Markus Kuhn -- 2001-01-12 -- public domain */ -#include +#include struct interval { unsigned short first; @@ -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