Fix strip_unprintable on high bit bytes
This commit is contained in:
parent
a5c6d66ac8
commit
9dcb9e1696
1 changed files with 3 additions and 3 deletions
|
@ -83,9 +83,9 @@ strip_colour(char *string)
|
|||
static inline char *
|
||||
strip_unprintable(char *string)
|
||||
{
|
||||
char *c = string;
|
||||
char *c2 = string;
|
||||
char *last_non_space = NULL;
|
||||
unsigned char *c = (unsigned char *)string;
|
||||
unsigned char *c2 = (unsigned char *)string;
|
||||
unsigned char *last_non_space = NULL;
|
||||
|
||||
/* c is source, c2 is target */
|
||||
for(; c && *c; c++)
|
||||
|
|
Loading…
Reference in a new issue