mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Fix UTF-8 character corruption every 32kb of text buffer
This commit is contained in:
parent
0331970d64
commit
fc4a4d2471
2 changed files with 13 additions and 0 deletions
|
|
@ -12,5 +12,6 @@
|
|||
int mk_wcwidth(unichar c);
|
||||
|
||||
#define unichar_isprint(c) (((c) & ~0x80) >= 32)
|
||||
#define is_utf8_leading(c) (((c) & 0xc0) != 0x80)
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue