mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
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:
parent
24bf34c6ca
commit
a8741bd799
8 changed files with 230 additions and 83 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue