From a123725a12e948d78badb2cb686d38548f1c633b Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Thu, 6 Apr 2023 23:23:46 +0200 Subject: Implement window handling Also implement searching. fix undo boundaries when it checked for other save point, it used && instead of == which caused it to overwrite other types. Fix bytes vs chars bug in text_get_region --- test/utf8.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'test/utf8.c') diff --git a/test/utf8.c b/test/utf8.c index 88e6a8c..d67c409 100644 --- a/test/utf8.c +++ b/test/utf8.c @@ -1,9 +1,10 @@ -#include "utf8.h" +#include +#include + +#include "dged/utf8.h" + #include "assert.h" #include "test.h" -#include "wchar.h" - -#include void test_nchars_nbytes() { ASSERT(utf8_nchars((uint8_t *)"👴", strlen("👴")) == 1, -- cgit v1.2.3