We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 527f145 + 8f1efb1 commit 4b09a3fCopy full SHA for 4b09a3f
src/ui/rgb.h
@@ -23,7 +23,7 @@ inline void v_get_argb(int64_t c, uint8_t &a, uint8_t &r, uint8_t &g, uint8_t &b
23
r = 0;
24
g = 0;
25
b = 0;
26
- } if (c < 0) {
+ } else if (c < 0) {
27
// from RGB
28
a = 255;
29
r = (-c & 0xff0000) >> 16;
0 commit comments