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

@ -306,7 +306,7 @@ static int advance (char const **str, gboolean utf8)
c = g_utf8_get_char(*str);
*str = g_utf8_next_char(*str);
return utf8_width(c);
return mk_wcwidth(c);
} else {
*str += 1;