libgrapheme

Freestanding C library for unicode string handling
git clone https://git.sinitax.com/suckless/libgrapheme
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 64c136162a2830374522b993df86d8a0a852422a
parent be3430ca6b7d275d3691f126ad65e84d732ebbb1
Author: Laslo Hunhold <dev@frign.de>
Date:   Sun, 13 Nov 2022 09:41:03 +0100

Remove redundant initialization

Signed-off-by: Laslo Hunhold <dev@frign.de>

Diffstat:
Mtest/bidirectional.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/bidirectional.c b/test/bidirectional.c @@ -27,7 +27,7 @@ main(int argc, char *argv[]) /*if (i != 490798) continue;*/ - for (m = 0, ret = 0; m < bidirectional_test[i].modelen; m++) { + for (m = 0; m < bidirectional_test[i].modelen; m++) { ret = grapheme_get_bidirectional_embedding_levels( bidirectional_test[i].cp, bidirectional_test[i].cplen, bidirectional_test[i].mode[m], lev, levlen);