From 3515f1c805cb3a61240d0187fd98530325be55f6 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Mon, 29 Dec 2025 19:48:19 -0500 Subject: simplify and clarify txt_split_piece(), txt_insert(), txt_delete() --- txt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'txt.h') diff --git a/txt.h b/txt.h index d7c5685..6bc5dd1 100644 --- a/txt.h +++ b/txt.h @@ -33,7 +33,7 @@ typedef struct { /* text buffer manipulation */ -u32 txt_split_piece(Txt *b, u32 pi, u32 i); +TxtLoc txt_split_piece(TxtLoc l); void txt_remove_piece(Txt *b, u32 pi); void txt_insert_piece(Txt *b, u32 pi, TxtBufIdx buf, u32 ofs, u32 n); -- cgit v1.2.3