From 6a0c61ad27e882e5547de696187bfc63faabc7b0 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 1 Jun 2014 19:39:28 -0400 Subject: [PATCH] Portability - Fixed wcwidth error in the #ifdef CYGWIN. --- src/wcwidth6.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wcwidth6.cpp b/src/wcwidth6.cpp index 7a9ba06ae..ccc1e2ce5 100644 --- a/src/wcwidth6.cpp +++ b/src/wcwidth6.cpp @@ -229,8 +229,9 @@ int mk_wcwidth(wchar_t ucs) (ucs >= 0xfe10 && ucs <= 0xfe19) || /* Vertical forms */ (ucs >= 0xfe30 && ucs <= 0xfe6f) || /* CJK Compatibility Forms */ (ucs >= 0xff00 && ucs <= 0xff60) || /* Fullwidth Forms */ - (ucs >= 0xffe0 && ucs <= 0xffe6) || + (ucs >= 0xffe0 && ucs <= 0xffe6) #ifndef CYGWIN + || (ucs >= 0x20000 && ucs <= 0x2fffd) || (ucs >= 0x30000 && ucs <= 0x3fffd) #endif