degesch: don't use black for nicks on 256-color
Except for self.
This commit is contained in:
parent
131aee6f08
commit
8a8ff11887
|
@ -2522,7 +2522,7 @@ formatter_parse_nick (struct formatter *self, char *s)
|
|||
// Never use the black colour, could become transparent on black terminals;
|
||||
// white is similarly excluded from the range
|
||||
if (color == COLOR_BLACK)
|
||||
color = -1;
|
||||
color = (uint16_t) -1;
|
||||
|
||||
// Use a color from the 256-color cube if available
|
||||
color |= self->ctx->nick_palette[siphash_wrapper (nick,
|
||||
|
|
Loading…
Reference in New Issue