From 3bb731c645d1bcde6ecf6ca23e44eb6655da8726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sun, 10 Jan 2021 11:14:02 +0100 Subject: RichString_setAttrn: refactor to take a length instead of a stop index Fixes: #459 --- RichString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'RichString.h') diff --git a/RichString.h b/RichString.h index 1cae1cea..4145b0d0 100644 --- a/RichString.h +++ b/RichString.h @@ -42,7 +42,7 @@ typedef struct RichString_ { int highlightAttr; } RichString; -void RichString_setAttrn(RichString* this, int attrs, int start, int finish); +void RichString_setAttrn(RichString* this, int attrs, int start, int charcount); int RichString_findChar(RichString* this, char c, int start); -- cgit v1.2.3