diff options
Diffstat (limited to '')
-rw-r--r-- | port/wcwidth/wcswidth.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/port/wcwidth/wcswidth.c b/port/wcwidth/wcswidth.c deleted file mode 100644 index 5c8a5a4d..00000000 --- a/port/wcwidth/wcswidth.c +++ /dev/null @@ -1,8 +0,0 @@ -#include <wchar.h> - -int wcswidth(const wchar_t *wcs, size_t n) -{ - int l=0, k=0; - for (; n-- && *wcs && (k = wcwidth(*wcs)) >= 0; l+=k, wcs++); - return (k < 0) ? k : l; -} |