diff options
Diffstat (limited to 'src/trigger.c')
-rw-r--r-- | src/trigger.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/trigger.c b/src/trigger.c index 987b7f9..7790d9d 100644 --- a/src/trigger.c +++ b/src/trigger.c @@ -17,10 +17,10 @@ INIT { const auto color = propertyc("color"); if (color != nullptr && strlen(color) > 8) { - this->color.r = strtobyte(color + 1); - this->color.g = strtobyte(color + 3); - this->color.b = strtobyte(color + 5); - this->color.a = strtobyte(color + 7); + this->color.r = strtobyte(color + 3); + this->color.g = strtobyte(color + 5); + this->color.b = strtobyte(color + 7); + this->color.a = strtobyte(color + 1); } else { this->color.r = 0; this->color.g = 0; |