diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-08-11 21:22:44 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-08-11 21:38:28 +0200 |
commit | 8a8ff11887e37349397ec1851e2483b60083c58d (patch) | |
tree | 03207d71789cad65bfeef058a6153831c8974231 /degesch.c | |
parent | 131aee6f0800b6844fde43a698c5bb2f0080988e (diff) | |
download | xK-8a8ff11887e37349397ec1851e2483b60083c58d.tar.gz xK-8a8ff11887e37349397ec1851e2483b60083c58d.tar.xz xK-8a8ff11887e37349397ec1851e2483b60083c58d.zip |
degesch: don't use black for nicks on 256-color
Except for self.
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |