RDB also points out we don't need the CJK `not recommended for
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 7 Sep 2001 23:00:37 +0000 (23:00 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 7 Sep 2001 23:00:37 +0000 (23:00 +0000)
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

index 9f23111..f76fd86 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