Skip to content

Commit

Permalink
Do not force symbols to width 1, from Yen Chi Hsuan.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Oct 28, 2016
1 parent 4dbbcff commit 178894b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions compat/utf8proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 178894b

Please sign in to comment.