diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-01-10 11:14:02 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-01-10 16:51:25 +0100 |
commit | 3bb731c645d1bcde6ecf6ca23e44eb6655da8726 (patch) | |
tree | 20b0f7d09c12ff15d9526670b82a9ae9eccfab61 /RichString.h | |
parent | a076488809b2f4a05a1aa19d6599a9cfc9a97018 (diff) |
RichString_setAttrn: refactor to take a length instead of a stop index
Fixes: #459
Diffstat (limited to 'RichString.h')
-rw-r--r-- | RichString.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |