mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Remove get_utf8_char/utf16_char_to_utf8 in favour of glib
g_utf8_get_char_validated/g_unichar_to_utf8. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4893 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
04ea54a1a0
commit
7b529aa530
4 changed files with 15 additions and 128 deletions
|
|
@ -389,7 +389,7 @@ static void term_addch_utf8(TERM_WINDOW *window, unichar chr)
|
|||
char buf[10];
|
||||
int i, len;
|
||||
|
||||
len = utf16_char_to_utf8(chr, buf);
|
||||
len = g_unichar_to_utf8(chr, buf);
|
||||
for (i = 0; i < len; i++)
|
||||
putc(buf[i], window->term->out);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue