mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +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
|
|
@ -30,6 +30,6 @@ void utf16_to_utf8_with_pos(const unichar *str, int spos, char *out, int *opos);
|
|||
#define is_big5(hi,lo) (is_big5_hi(hi) && is_big5_lo(lo))
|
||||
|
||||
/* Returns width for character (0-2). */
|
||||
int utf8_width(unichar c);
|
||||
int mk_wcwidth(unichar c);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue