mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
RichString_setAttrn: refactor to take a length instead of a stop index
Fixes: #459
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user