Introduction
Introduction Statistics Contact Development Disclaimer Help
update libgrapheme to version 2.0.1 - lchat - A line oriented chat front end fo…
git clone git://git.suckless.org/lchat
Log
Files
Refs
README
---
commit 91579d79ea33b7f14db6b8187255971b467f2553
parent 1f48fc49963432855d340efd51abcc613bfcfd6c
Author: Jan Klemkow <[email protected]>
Date: Sun, 9 Oct 2022 22:41:59 +0200
update libgrapheme to version 2.0.1
suggested by Tom Schwindl <[email protected]>
Diffstat:
M slackline.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/slackline.c b/slackline.c
@@ -75,7 +75,8 @@ sl_postobyte(struct slackline *sl, size_t pos)
size_t byte = 0;
for (;pos > 0; pos--)
- byte += grapheme_next_character_break(ptr+byte, sl->blen-byte);
+ byte += grapheme_next_character_break_utf8(ptr+byte,
+ sl->blen-byte);
return byte;
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.