Replace utf8_width with Markus Kuhn's wcwidth.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4518 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2007-05-25 21:56:30 +00:00 committed by exg
commit a8741bd799
8 changed files with 230 additions and 83 deletions

View file

@ -425,7 +425,7 @@ void term_add_unichar(TERM_WINDOW *window, unichar chr)
switch (term_type) {
case TERM_TYPE_UTF8:
term_printed_text(utf8_width(chr));
term_printed_text(mk_wcwidth(chr));
term_addch_utf8(window, chr);
break;
case TERM_TYPE_BIG5: