about summary refs log tree commit diff stats
path: root/src/xmpp/session.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-06-08 19:42:41 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-06-08 19:42:41 +0200
commit6bc440c6f7e8c2c40d2d45f5c0decc15821abc8b (patch)
treea95f3c98da9d02c6cd792e246b0251990fe54580 /src/xmpp/session.c
parent8ffb1bdd37fc92c14294ad2b1d3dbc7b849249fc (diff)
downloadprofani-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