diff options
Diffstat (limited to 'src/color.c')
-rw-r--r-- | src/color.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/color.c b/src/color.c index 8f5b71b..67c3fb8 100644 --- a/src/color.c +++ b/src/color.c @@ -3,9 +3,9 @@ PARENT(trigger); IMPL(enter) { if (this->color_group) - setfgcolor(1. / 255. * this->color.r, 1. / 255. * this->color.g, - 1. / 255. * this->color.b); + setfgcolor(this->color.r / 255., this->color.g / 255., + this->color.b / 255.); else - setbgcolor(1. / 255. * this->color.r, 1. / 255. * this->color.g, - 1. / 255. * this->color.b); + setbgcolor(this->color.r / 255., this->color.g / 255., + this->color.b / 255.); } |