Do not force symbols to width 1, from Yen Chi Hsuan.

This commit is contained in:
Nicholas Marriott 2016-10-28 19:58:14 +01:00
parent 4dbbcff72b
commit 178894b0fe

View File

@ -33,10 +33,6 @@ utf8proc_wcwidth(wchar_t wc)
*/
return (1);
}
if (cat == UTF8PROC_CATEGORY_SO) {
/* Symbols, like emoji, should always use width 1. */
return (1);
}
return (utf8proc_charwidth(wc));
}