X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=wcwidth.c;h=ed7529ba8eec76f4d343672aee275b0694e7ce2b;hb=0047bbe70fc4d0df7b5f0057971071c348aff018;hp=9f231112fb661e45053775b5199279d4d8af39b5;hpb=8692657fdd817efebfd1bac2fdaf00688b3e68ed;p=PuTTY.git diff --git a/wcwidth.c b/wcwidth.c index 9f231112..ed7529ba 100644 --- a/wcwidth.c +++ b/wcwidth.c @@ -6,7 +6,9 @@ * Markus Kuhn -- 2001-01-12 -- public domain */ -#include +#include + +#include "putty.h" struct interval { unsigned short first; @@ -144,7 +146,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 +233,4 @@ int wcswidth_cjk(const wchar_t *pwcs, size_t n) return width; } +#endif