]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
RDB also points out we don't need the CJK `not recommended for
authorSimon Tatham <anakin@pobox.com>
Fri, 7 Sep 2001 23:00:37 +0000 (23:00 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 7 Sep 2001 23:00:37 +0000 (23:00 +0000)
general use' wcwidth function, so we condition it out to save space.

[originally from svn r1248]

wcwidth.c

index 9f231112fb661e45053775b5199279d4d8af39b5..f76fd8629e50258faf6e34b0d25434aa76e9f64f 100644 (file)
--- 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