diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-06-08 19:42:41 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-06-08 19:42:41 +0200 |
commit | 6bc440c6f7e8c2c40d2d45f5c0decc15821abc8b (patch) | |
tree | a95f3c98da9d02c6cd792e246b0251990fe54580 /src/xmpp/session.c | |
parent | 8ffb1bdd37fc92c14294ad2b1d3dbc7b849249fc (diff) | |
download | profani-tty-6bc440c6f7e8c2c40d2d45f5c0decc15821abc8b.tar.gz |
Use utf-8 safe functions in _mucwin_print_mention()
get_mentions() correctly counts utf-8 chars. So the positions of mentions we get from there are correct. But in _mucwin_print_mention() we set position equal to byte. We need to use utf-8 safe functions here. Regards https://github.com/profanity-im/profanity/issues/1231
Diffstat (limited to 'src/xmpp/session.c')
0 files changed, 0 insertions, 0 deletions