~exec64/imv-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH imv] console: update libgrapheme API to version 1

Details
Message ID
<20211222175535.10112-1-cem@ckyln.com>
DKIM signature
missing
Download raw message
Patch: +2 -2
---
libgrapheme has recently seen its first release, along with some API
changes. I have updated the functions to match the current API. There
is also a dedicated webpage for the library available[0] along with
some better documentation.

[0]: https://libs.suckless.org/libgrapheme/

 src/console.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/console.c b/src/console.c
index 323383f..9db18e7 100644
--- a/src/console.c
+++ b/src/console.c
@@ -52,7 +52,7 @@ static size_t next_char(char *buffer, size_t position)
  return result;
  #elif defined(IMV_USE_GRAPHEME)
  if (buffer[position] != 0) {
    return position + grapheme_bytelen(buffer + position);
    return position + grapheme_next_character_break(buffer + position, SIZE_MAX);
  } else {
    return position;
  }
@@ -85,7 +85,7 @@ static size_t prev_char(char *buffer, size_t position)
  size_t result = 0;
  size_t step;
  do {
    step = grapheme_bytelen(buffer + result);
    step = grapheme_next_character_break(buffer + result, SIZE_MAX);
    if (result + step >= position)
      break;
    result += step;
-- 
2.34.1

[imv/patches] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CGM0YPF8UG2H.23X3P9ZZSWW1@cirno2>
In-Reply-To
<20211222175535.10112-1-cem@ckyln.com> (view parent)
DKIM signature
missing
Download raw message
imv/patches: SUCCESS in 4m10s

[console: update libgrapheme API to version 1][0] from [Cem Keylan][1]

[0]: https://lists.sr.ht/~exec64/imv-devel/patches/27591
[1]: cem@ckyln.com

✓ #654957 SUCCESS imv/patches/debian.yml  https://builds.sr.ht/~exec64/job/654957
✓ #654954 SUCCESS imv/patches/ubuntu.yml  https://builds.sr.ht/~exec64/job/654954
✓ #654955 SUCCESS imv/patches/freebsd.yml https://builds.sr.ht/~exec64/job/654955
✓ #654956 SUCCESS imv/patches/fedora.yml  https://builds.sr.ht/~exec64/job/654956
Details
Message ID
<5de465b6-2e3a-88fc-c426-2ce51676cc93@harry.pm>
In-Reply-To
<20211222175535.10112-1-cem@ckyln.com> (view parent)
DKIM signature
missing
Download raw message
Thanks! Applied and pushed.
Reply to thread Export thread (mbox)